10 Comments Already

commenter
Ben Said,
June 16th, 2008 @3:31 pm  

There’s two issues with this approach, but they’re both pretty easily fixed with one process.

While you can just embed an image from whatever url you want, you can’t know for sure that image will always be at that url, if it’s moved, deleted or hotlinking is blocked then your site’s going to start looking ugly.

The second is specifying the width and height via attributes of the img tag. You’re still downloading the full image even if it’s displayed at a smaller size, and less savvy internet users are quite likely to specify large images that could add megabytes to your cumulative page size.

Both of these can be fixed by storing a copy locally, which also gives you the opportunity to resize the image physically to ensure a thumbnail is just a thumbnail.

commenter
June 17th, 2008 @2:55 pm  

Hi Ben,

I agree with you on both issues of images disappearing over time and the overall load size of images, a few people however had been trying to do this with Extra Fields and were having problems getting images to display etc. The most streamlined way to achieve a solution as you say would be to grab the image from the external source and convert to a thumbnail that’s stored in the data base.

This solution would most probably have to come in module form to keep the pligg codebase as clean as possible and compatible without edits for future upgrades.

It may even be an idea to add this feature to the Image Upload module giving you an either Upload a file or Upload from external URL, definitely something i may look into in the future.

commenter
Sergio Lopes Said,
June 17th, 2008 @5:08 pm  

Hi,

I’m still waiting for that this feature to come on next Pligg Image Upload version as its on roadmap. :)

Nice work!

Later,
Sergio

commenter
bob Said,
July 12th, 2008 @2:36 am  

what about a tutorial on putting extra fields on profiles!!!!

commenter
July 12th, 2008 @3:41 am  

@bob what a great idea, i will write one soon ;)

commenter
Apnastory Said,
September 8th, 2008 @11:11 am  

Thank to you. I am successful. I wait for new pligg code for better.

commenter
Storypot Said,
September 28th, 2008 @2:55 pm  

It is an outstanding feature.

Pingback & Trackback
mygif
Pingback from bloggingzoom.com
June 17th, 2008 @9:56 pm  
mygif
June 17th, 2008 @9:57 pm  
mygif
Pingback from pligg.com
September 7th, 2008 @7:29 am  

Related Post

Please Leave Your Comments Below

Please Note: All comments will be moderated