FEATURE REQUEST (+ code) - Cached Thumbs - Joomla! Forum - community, help and support
most won't settled 1.6, though on other hand it's not big of change in opinion (for small after-release in 1.6.x once). anyway, here go:
1 introduction
this document should describe possible addition joomla code enhance professional use of thumbs , image previews (that can used everywhere, in content (lists))
2. current issue?
a lot of sites display smaller image previews of bigger images, in examples cases: blog lists, articles lists, news lists, database displays, galleries, contact lists, media management, , on , on..
in many cases (esp. joomla) still done simple html resizing in stead of resizing image itself!
sometimes leads (home)pages beyond several megabytes! not professional , generates bigger bandwidth load needed.
several components , other extensions have written own code overcome this, not redundant , not in performance , such, doesn't allow freedom , parametrization administrator (see below).
3. proposed improvements?
what needs done code reads image file, resize , (preferably) cache smaller file.
i guess best added in joomla library, maybe other people know better fits (in joomla system plugin or else)..
remark: why resizing / thumb?
in accepted white paper media manager improvements, talk more general image class outside media manager (that can used media manager too), maybe important , developer welcomed thing start image resize or thumb class!
other image functions maybe not used , take php code. (maybe rather belong in class?)
it take longer time agree , develop. so, let's start important feature.
at teh least forum topic above illustrates interest in feature media manager (and posters other uses too).
4. possible uses
5. effects on... users, 3p extensions, performance
there no negative effect expected (though several positive :-) ).
6. requirements, possible implementations or parameters:
7. more links relevant topics:
http://groups.google.be/group/joomla-de ... 86b84f1ee0
http://groups.google.be/group/joomla-de ... a2246a77e2
http://joomlacode.org/gf/project/displa ... m_id=12528
8. code implementaion already.
see attachment
it's gd_info though , needs work, wokrs already!
you can see code working on this site's homepage. (it's cropped middle 110x115 box)
i wonder if permitted/advised ask questions code in topic already? answer me that.
1 introduction
this document should describe possible addition joomla code enhance professional use of thumbs , image previews (that can used everywhere, in content (lists))
2. current issue?
a lot of sites display smaller image previews of bigger images, in examples cases: blog lists, articles lists, news lists, database displays, galleries, contact lists, media management, , on , on..
in many cases (esp. joomla) still done simple html resizing in stead of resizing image itself!
sometimes leads (home)pages beyond several megabytes! not professional , generates bigger bandwidth load needed.
several components , other extensions have written own code overcome this, not redundant , not in performance , such, doesn't allow freedom , parametrization administrator (see below).
3. proposed improvements?
what needs done code reads image file, resize , (preferably) cache smaller file.
i guess best added in joomla library, maybe other people know better fits (in joomla system plugin or else)..
remark: why resizing / thumb?
in accepted white paper media manager improvements, talk more general image class outside media manager (that can used media manager too), maybe important , developer welcomed thing start image resize or thumb class!
other image functions maybe not used , take php code. (maybe rather belong in class?)
it take longer time agree , develop. so, let's start important feature.
at teh least forum topic above illustrates interest in feature media manager (and posters other uses too).
4. possible uses
- by developers several things in joomla (such media manager, several "lists" such blog views, etc..), in extensions, etc..
- another way use implemantation site administrator not pay attention anymore his/her editors in regards image sizes. sure guidelines , manuals written employees , other site editors , how upload images. so, implementation of "thumb" feature 1 has less trouble on end, i.e. can let these editors upload image (size) want, , generate right dimensioned images on teh fly article itself. though effect same above, it's not justs lists , galleries , such anymore, images on article pages , other content pages themselves. (thumb bad name in case, well..)
- one might think positive results on environment, since joomla wide used system, several terrabytes of bandwidth (and electric consumption (client , server!)) can saved if applied!
5. effects on... users, 3p extensions, performance
there no negative effect expected (though several positive :-) ).
6. requirements, possible implementations or parameters:
- cache system (is joomla cache sufficient this? longer file "lifetime" might expected)
- allow different "ways" "resize" (crop middle or left upper corner, ratio-resize inside box, auto generate height ratio wise, etc...
- library independance: gd_info, imagemick, etc.., possibly maybe joomla php written one? let admin choose.
possibly start standard enabled php library (=gd_info) , wait demand take on others? - any library used should @ least able handle these 3: gif, png, jpg
- make cache filenames recognizable. reasons:
- seo
- easier understand other developer
- easier (admin/developer/end-user/google) determine represented on server or url generated it, should of these happen come across filename
- to optimize derver download , server-load , server space, optionally allow resize images multiplication of fixed predefined amount of pixels (e.g. in blocks of 50 px, images sizes (width or height) of 50, 150, 200, 250, .. that's easier on cache , everyhting in between close nihil improvement (as sees fit choice of block)
7. more links relevant topics:
http://groups.google.be/group/joomla-de ... 86b84f1ee0
http://groups.google.be/group/joomla-de ... a2246a77e2
http://joomlacode.org/gf/project/displa ... m_id=12528
8. code implementaion already.
see attachment
it's gd_info though , needs work, wokrs already!
you can see code working on this site's homepage. (it's cropped middle 110x115 box)
i wonder if permitted/advised ask questions code in topic already? answer me that.
i've discovered similar google summer code project.
http://community.joomla.org/blogs/commu ... sting.html
if find time, check out. importantly if image resizing, library won't load lot of unnecessary stuff. in other words, hope it's bit split in files it's not performance dip.
anyone ideas effect of big libraries in joomla , whether developer can split (like in "controllers" or something) reduce load simple uses?
http://community.joomla.org/blogs/commu ... sting.html
if find time, check out. importantly if image resizing, library won't load lot of unnecessary stuff. in other words, hope it's bit split in files it's not performance dip.
anyone ideas effect of big libraries in joomla , whether developer can split (like in "controllers" or something) reduce load simple uses?
Comments
Post a Comment