Intermediate page in popup Intermediate page in popup
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Intermediate page in popup

Started by ruscano, February 12, 2006, 05:11:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ruscano

Searched the forums, but couldnt find any info on this for 1.4.2.
Everything is for older version and won't work.
I checked for any reference to displayimage.php in theme.php but no resolts.
Defently there is a way to achieve the intermedia page appear in a popup, and at this point for me is crucial, any help will be very very much apreciate it, please


n3n

Im also looking for a solution. Ill post it when ive got it figured out.

Joachim Müller

with many pop-ups, you're scaring visitors away, that's all. Are you actually trying to open the intermediate display in a pop-up or are you trying to skip the intermediate page entirely and looking for a hack "from thumbnail to full-size pop-up"?

cionex

I'm actually looking for a solution. I had the previous version and worked fine but now with the new one it doesn't work... can somebody help us to skip the intermediate pictures and make the full size pics pop-up?

Thanks in advance!

cionex

Anyone?!? I need a solution!!!  ???

Stramm


cionex

Quote from: Stramm on April 01, 2006, 11:11:22 AM
have you read this thread http://forum.coppermine-gallery.net/index.php?topic=15671.20
needs some work to work with 1.4 though

Exactly. I did that with the previous version but it doesn't work with 1.4. That's what i want to know. What do to make it work for 1.4. I really really really really need a solution. I can't stand the intermediate pictures... Please, help!!!

Joachim Müller

the code section you need to change has been moved from displayimage.php to theme.php. If the section doesn't exist in your version of theme.php, copy it from the sample theme.

cionex

Quote from: GauGau on April 02, 2006, 11:47:45 AM
the code section you need to change has been moved from displayimage.php to theme.php. If the section doesn't exist in your version of theme.php, copy it from the sample theme.

I tried but it doesn't work. In fact, people on the other thread only said to modify theme.php and functions.inc. Not displayimage.php...  :o
I re-uploaded the original files again:

Here's in theme.php and functions.inc
http://www.steve-sandvoss.com/gallery/themes/water_drop/
(i uploaded functions.inc there for you to take it, it's not like i upload it there to make it work, lol).

Maybe you can take a look at it... Thanks very much!!!

Joachim Müller

how should I be able to get those files? They're PHP files, they get parsed. I can't download them.

cionex

Quote from: GauGau on April 02, 2006, 09:18:31 PM
how should I be able to get those files? They're PHP files, they get parsed. I can't download them.

I uploaded a zip file. Just "righ click" and "save as"...  :)

cionex

GauGau, are you there???  ;D

I really need your help!!!!  :-[

Joachim Müller

I'm not going to do your work. You need the mod, you code it. Looking into your code requires using a diff viewer to see the changes, apply the changed files to my test site, looking deeply into things.
I tried to apply the mod as originally posted by donnoman and discovered that it hasn't changed at all, the steps described match exactly except the code you need to replace in your theme.php file: find'{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}",and replace with the suggested code. As the theme functions that need modification don't exist by default in the water drop theme, you have to copy them first from the sample theme.
For ease of use I have attached the modified theme.php file (rename it back from theme.php.txt to theme.php after downloading it).

HTH

Joachim

cionex

OMFG!!!  :o it worked!!!!

Thank you SOOOOOOOOOO much! You're the best!!!

Besides, I'm sure this will help a lot of people! :)))

Joachim Müller

note to devs: feature added to devel branch of svn.

Joachim Müller