• 207
  • More

storage files and images URLs

at the moment, when I upload a photo to any post, the src url will point to the image_transcoder with multiple queries like this src="https://www.mywebsite.com/image_transcoder.php?o=bx_froala_image&h=6962&dpx=1&t=1634827329"

which bit of the code do I need to change so that I can get the actual url of the file, such as src="https://www.mywebsite.com/uploads/f/image.png"

Replies (3)
    • When you open the URL like this one - image_transcoder.php?o=bx_froala_image&h=6962&dpx=1&t=1634827329 - you are redirected to the actual image, but this is NOT PERMANENT URL (due to pruning and other factors), so it's better to always use URLs starting with image_transcoder.php, it checks many things, perform resizing (if needed) and then redirect to the correct image URL.

      • thanks @Alex T⚜️ but is there any way to echo the final src URL on the html instead of that one that starts with image_transcoder.php I don't need resizing, I just need the url of the original photo printed in the html. This will be very important for our image SEO.

        • thanks  but is there any way to echo the final src URL on the html instead of that one that starts with image_transcoder.php I don't need resizing, I just need the url of the original photo printed in the html. This will be very important for our image SEO.

          If resizing isn't used then it will be direct URL to the image which never changes, also if you are talking about images in Froala editor then please take into account that Froala will be removed in UNA 13 and it's recommended to stop using it.

          Not logged in users can't 'Comments Post'.