At the end of many image URLs, it has ..whatever.jpg?m=NNNNNNNN where NNNNNNNN is some number. What does the number represent? Usually I just remove it when I display the image in a forum or something. Is it a user or image ID of some kind?
This is using Gallery 3 RC2.
Thanks,
Mark H.
Using Gallery 2.2.6 - gallery.markheadrick.com
Posts: 22888
It is for preventing caching issues.
Not sure if the http://codex.gallery2.org/Gallery3:Modules:embedlinks module helps in what you are after or not.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 178
Thanks for pointing me towards that. Helps getting the links anyway. Guess my main question is, should we be including that number in the URL for caching/performance reasons?
Thanks,
Mark H.
Using Gallery 2.2.6 - gallery.markheadrick.com
Posts: 22888
You can use uls without the number.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7934
You can safely ignore that value. By using that value, we can have your browser only download an image when its changed. Otherwise we have the problem that you rotate an image and we show you the old one, or alternatively we have to have you download the images every time you view a page (really inefficient).
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 178
Ahhh.. OK. Thanks for clearing that up.
Thanks,
Mark H.
Using Gallery 2.2.6 - gallery.markheadrick.com