(2015-04-22, 07:15:17)shawn_a Wrote: But you ARE creating thumbs for uploads...
GS does not generate thumbs the same name as uploads, it uses 2 prefixes thumbsm., and thumbnail.
With a thumbnail prefix ( this is further expanded upon as "thumbtype" in 3.4 ) it is somewhat mitigated for collisions, no one is going to generate a thumb called thumbs/extragallery.mykittykat.jpg on accident for example.
also 3.4 has thumbnail getters and setters for getting and generating thumbs based on thumbtype ( draft atm ), which would be automatically available to users if using this location and naming.
for example i18n gallery is already compatible, as it uses
i18npic. prefix
( it also uses a size prefix after that, but that is besides the point )
I will have to look over the code for this plugin again, but I feel it is very core worthy, with some minor adjustments and some front end output functions and hooks.
shawn_a,
I never tested this plugin GS 3.4. Maybe when it will be released I can use some code from core.
Yes fit method is not implemented I have it in development version but it missing many many lines of code.
http://flexphperia.net - my portfolio