Hi,
I am using Coppermine...only for the e-card function. I would like to open an album...and skip the displayimage.php and go directly to the e-card.
How can I do this?
Thank you in advance
You cannot skip the displayimage.php entirely, as this is where the album thums are shown, but you should be able to skip the intermediate and full size display, and go straight to the ecard page.
It will require some coding changes to the displayimage.php, and probably a bit to ecard.php as well. Don't know if anyone has done this before.
ps, moving this to the support forum.
I am a little confused. I thought that the thumbnails are created in thumbnails.php.
Basically, I want to click on a thumbnail and go directly to the E-Card section skipping the displayimage.php
If you can let me know where the code needs to be modified...that would be very helpful. I am not sure where.
At first I was thinking maybe I could 'hardcode' the ecard.php url so that when they clicked on a thumbnail it went directly to the ecard.php page.
Then, I discoverd I cant get the PID when I am on the thumbnail.php page. Any ideas that anyone has would be very appreciated.
Sorry, you are correct of course, I think i was tired when I replied to your post :oops: .
Any idea on how I can accomplish this? Would I have to try to construct a 'creative' query with a join statement or something?
Sorry, I don't know how or where to change the thumbs to link to the ecard, instead of the displayimage.
Perhaps one of the coders on here will be able to help.
This issue is dealt with in each theme.php file.
Search for:
'{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
That is the first of three link targets for three different situations within the theme_display_thumbnails function.
So, to go from the thumbnail.php to the ecard.php directly how do I change the link? It looks like I need to somehow add the PID in the url. How can this be done?