![]() |
photos_today.php
Hello.
I'm wondering if anyone who knows php (even Raminia, the developer) could help me with the Photos Today addon. It works good, but I would love to make a couple changes. First, is it possible to add a line break in between each photo? instead of a zero pix margin where they're all touching... Secondly, I want to modify the img alt tag to contain my EXIF info as well... I found where to do that, if only I knew php, but here's the code: PHP Code:
Thanks pixelpost, |
Oh, and third I just realized, the link on the current pictures are in a loop to themselves... as in, when I'm viewing photo id 221, the photos all link back to 221, and not 220. Thanks for any help, once again...
|
Okay, I figured out the line break, by just adding br tags to the end of that php line I posted up there... also got rid of the link border by adding border='0' to the end of the img tag. Still stuck with the EXIF info, these tags to be specific:
HTML Code:
<EXIF_ISO> <EXIF_EXPOSURE_TIME> <EXIF_APERTURE> <EXIF_FOCAL_LENGTH>Gracias! |
if I understood it right, you have still a problem.
maybe you should try this: Quote:
|
Hmm, thanks for the suggestion but it ended up just displaying the actual tags in the img title, not the values of the exif info... What are the php equivalents of those EXIF tags, anybody know?
And more importantly, how do I fix the looped link problem? When I click on the current photo, instead of linking to the previous image as intended, it just reloads the same id photo... Help! :) examples of this problem can be seen here: http://www.cleu.org/blinkpp/ Note it's different than my signature link... Thanks, |
PHP Code:
|
Thanks for the suggestion, but no luck... Both the link and the exif info are left blank with that code. Curious that neither worked...maybe a clue why the developer didn't make the link work right from the start, were there problems? Anyone, more thoughts?
The code that Joe[y] posted is still viewable here: http://www.cleu.org/blinkpp/ Thanks, |
Okay, I've decided to just not use the photos_today addon, and just have combine seperate photos into one image file if I want multiple shots on one post. Thanks for your help... even if it's still a mystery to me. :)
|
hum. the link didn't even work? what was the url it directed to? just the same image?
|
No, instead of the same image, it just got rid of the ID completely so it linked like this on every image:
http://www.cleu.org/blink/index.php?showimage= Which was just like linking to the current "today" image. Not sure, but obviously raminia had this same problem too otherwise it probably would've been fixed by now. No biggie. |
| All times are GMT. The time now is 04:57 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.