|
#1
|
|||
|
|||
|
Does this exist? [Show alternative image on rollover]
I've been playing around with Pixelpost and it's great, but there's one thing I would do on my current "hand coded" photo blog that I was wondering if pixelpost could do.
Specifically, I set it up so that when the user rolled over the image they saw a version that had been processed in another way (usually black and white). You can see what I'm talking about here: http://www.aengblom.com/blog/blog110.html Are there any addons/hacks to pixelpost that might allow this? -Drew |
|
#2
|
||||
|
||||
|
Secret image
|
|
#3
|
||||
|
||||
|
What you are looking for is the Secret Image addon.
__________________
My photoblog: KP Images |
|
#4
|
|||
|
|||
|
Hello all,
Thanks for the replies (and sorry for the belated thanks!). I was finally getting around to installing this and I'm finding the documentation a bit, how do you say, lax ;-). I was able to copy the addon into the directory and then turn it on, but then nothing seems to happen even when I upload two images. Quote:
If anyone is willing to help out I'd be quite greatful. Thanks! |
|
#5
|
||||
|
||||
|
plz read the last part of the documentation (found in the Addons section after turning it on):
NEW TAGS (for use in image_template.html): <ATTRIBUT_NAME> - Main image must have attribute "name" for the JavaScript working! Put this tag after <img src="images/<IMAGE_NAME>" ! <SECRET_LINK> - The Secret grafic with mouseover, place it wherever you want in the image_template.html I just saw that in the documentation in the Extend Section this sentence is corrupted, I will repair it at once KArin |
|
#6
|
|||
|
|||
|
Thanks for the quick reply! Sadly, I'm afraid I'm still a little confused.
This is the first time I've used an addon/edited a pixelpost template, so my apologies for my probably is an inability to read between the lines. I can edit the template, but I'm either putting things in the wrong place or something else is going oddly. You can my attempt here: http://www.aengblom.com/pixelpost/in...p?showimage=35 When I hover over the "secret graphic" label the first image goes away, but nothing new comes in its place even though I loaded another graphic through the "submenu." On a related note, I uploaded a two graphics , but they also don't show up. Any ideas? |
|
#7
|
||||
|
||||
|
the source code of your image page is correct but it looks as if the secret image icons (s_grafic1.gif and s_grafic2.gif) and the secret image itself (o_20081023233354_courthousebuildingbw-f.jpg) are not uploaded. I get a "Forbidden" Error when I call them directly.
Please check this in your FTP program, if the images are in place (the icons in the thumbnails folder and the secret image in the images folder). Maybe the upload didn't work. Please also check the folder permission (CHMOD) of the thumbnails and images folder, it should be set to '777' (allow everything to all). If everything fails it may help if you could temporarily give me access to your admin area or even to your FTP KArin |
|
#8
|
|||
|
|||
|
Hmm, well that's a start. The images were uploading, but apparently are being uploaded with the wrong file permissions (600 instead of 644). Is this something I can fix within the addon?
|
|
#9
|
|||
|
|||
|
Err, bump? ;-)
Hey austriaka, Thanks for all the help so far. I was wondering if you had any idea about my remaining problem? Thanks! |
|
#10
|
||||
|
||||
|
you can try the php command "chmod()" directly after the upload of the image:
after line 105 if(move_uploaded_file($_FILES['secretfile']['tmp_name'], $s_uploadfile)) { insert this one: chmod($s_uploadfile, 0644); but with some hosts it won't work I guess the secret grafic icons are not the problem since you upload them only once, so you can do that manually HTH KArin |
| Post Reply |
| Thread Tools | |
|
|