IdeaThe idea is that visitors would have possibility to post images from your gallery anywhere in the Internet (forums, guestbook, blogs, livejournal, etc.)
To perform this we need a new button called for e.g "Post It!" under every single image.
Once the button is pressed pop-up window will show-up.
The window will contain 4 different posting codes:1) Large version of an image linked to the corresponding page on your site;
2) Thumbnail linked to the corresponding page with large version on your site;
3) Large version linked to the corresponding page on your gallery behind lj-cut;
4) Thumbnail before lj-cut; large version linked to the corresponding page on your gallery behind lj-cut;
Options 3,4 would be useful for positing in livejournal (
http://livejournal.com).
The code will look like this1)
<a href="http://www.yoursite.com/img#.htm"><img src="http://www.yoursite.com/data/thumbnails/cat#/thumbnail_name.extension" width="" height="" border"0" alt="image_name" title="image_name /></a>
2)
<a href="http://www.yoursite.com/img#.htm"><img src="http://www.yoursite.com/data/media/cat#/image_name.extension" width="" height="" border"0" alt="image_name" title="image_name /></a>
3)
<lj-cut text="image_name - image_width x image_height - image_size">
<a href="http://www.yoursite.com/img#.htm"><img src="http://www.yoursite.com/data/media/cat#/image_name.extension" width="" height="" border"0" alt="image_name" title="image_name /></a>
4)
<img src="http://www.yoursite.com/data/thumbnails/cat#/thumbnail_name.extension" width="" height="" border"0" alt="image_name" title="image_name />
<lj-cut text="image_name - image_width x image_height - image_size">
<a href="http://www.yoursite.com/img#.htm"><img src="http://www.yoursite.com/data/media/cat#/image_name.extension" width="" height="" border"0" alt="image_name" title="image_name /></a>
</lj-cut>
*mod-rewrite is enabled (read about this mod
http://www.4homepages.de/forum/index.php?topic=6729.0)
*image_name, image_size - should be taken from 4images db fields
*image_width, image_height - i guess the mod will have to determine them...
Target- Increase site popularity.
Possible problems- Traffic overruns (your site have to be
really pop
If you can write this mod I have 30$ on my webmoney (
http://wmtransfer.com/) account and I would gladly
share them with you !
Update: The MOD was successfully written by
ruudvroon he gets 30 WMZ.
Known issues- Doesn't work with images hosted remotely
Things to improve- Statistics for "Post It!" in ACP and in top.php
- Post all images in category at once
PS.If you have any thoughts about this, please comment !