Skip to main content

How do you compress files for web site?



  • Yvan Bedard


    Is it possible to keep keywords only, without keeping the other metadata?

    Is it necessary if I rather use ALT tags in the web site?

    If using only ALT tags (that is, not keeping the photo keywords), this means I have to re-enter my photo keywords into the ALT tags... A lot of work potentially...

    So, how do you proceed to have compressed photos and keywords for better SEO ?

  • Rick Sammartino Community moderator

    "What do you use?" - Yvan, we're just other users here, I'm not aware that anyone here has a website.

    When I post to Facebook, their optimum size is 1200x630 pixels. So when exporting set the long edge to 1200 in the Photo Resize pane. That's with JPG at 100%. You'll need to decide what size you want your photos to be and export accordingly.

    As for keywords, there is no option to change what's there during export. If it's not what you want, you'll have to change that after exporting.

  • Yvan Bedard

    Hi Rick,

    As you know, lighter files = faster web site = better ranking in Google search engine.

    Idem for keywords: better ALT tags = better ranking in Google.

    As I said, I am now in the process of building a WordPress web site for the photos I sell in art galleries (Facebook and Instagram don't replace a professional web site). I've read several reviews of the jpg compression tools and I have tried a few, but none of them seem to keep keywords. This forces me to reintroduce the keywords in the ALT tags of my web photos... a tedious work.

    I'm hoping that there are some pro photographers using PR who maintain their web site.

    As you wrote, the first step is to reduce the number of pixels at about the size you said. Once this is done, compressing the files reduces their weight between 30% and 70% without too much image artefacts.

    These steps can be done with raw processors in JPG (ex. PR), but their efficiency isn't as good as compression software like TinyJPG, JPEGmini, Optimizilla,, Caesium, etc. This is why I'm hoping to find someone here with the answer.



  • Christian Fritsch


    I‘m using imageoptim. It is free and you can change the settings so it will not delete the metadata. For me, it is one of the best tools.

  • Yvan Bedard

    Thanks Christian!  I have started to use ShortPixel. It works very well and it allows one to compare before/after.

    I'll look for imageoptim anyway since I had not seen it before.


Please sign in to leave a comment.