forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ashhil on August 04, 2009, 01:23:47 am

Title: Making Pictures Pop Up When You Click On Them
Post by: ashhil on August 04, 2009, 01:23:47 am
Hey, well i dont know if this is the right place to post this, and ive been searching the forum like crazy and cant find my answer, well I'm just wondering, how to make a picture pop-up to a bigger size when you click on it ... like this : http://oh-hilary.com/gallery/displayimage.php?album=1176&pos=0

Please let me know how to , thanks =]
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Hein Traag on August 04, 2009, 09:12:14 am
Searched for it? Anyway, this should do the trick for pop-up: http://forum.coppermine-gallery.net/index.php/topic,53290.0.html
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Joachim Müller on August 04, 2009, 09:15:03 am
Erm, no: the pop-up that the thread starter is refering to doesn't need a mod/plugin. It's the default behaviour of coppermine. No mod needed. If your gallery doesn't have that feature, you probably have made a mistake. That's why it's mandatory to post a link to your gallery when asking for support. If you do, we could tell you why your gallery doesn't show a pop-up.
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Fabricio Ferrero on August 04, 2009, 02:07:43 pm
If your gallery is not poping up when you click the normal size picture, you forgot to search FAQ's --> http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#noFullsizePopup ;)
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: ashhil on August 04, 2009, 05:16:49 pm
Erm, no: the pop-up that the thread starter is refering to doesn't need a mod/plugin. It's the default behaviour of coppermine. No mod needed. If your gallery doesn't have that feature, you probably have made a mistake. That's why it's mandatory to post a link to your gallery when asking for support. If you do, we could tell you why your gallery doesn't show a pop-up.

Well my site is: http://duffhq.com/gallery  , ;)
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Fabricio Ferrero on August 04, 2009, 06:15:02 pm
Yep, you over edited your theme, please, do as suggested here:
If your gallery is not poping up when you click the normal size picture, you forgot to search FAQ's --> http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#noFullsizePopup ;)
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: ashhil on August 04, 2009, 06:17:47 pm
Yep, you over edited your theme, please, do as suggested here:

I did it, but still nothing  ???
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Joe Carver on August 04, 2009, 07:00:16 pm
You did not.

Your page source shows.....(which is from your template.html)
In the <head>


Code: [Select]
<script type="text/javascript" src="/gallery/scripts.js"></script>

Change it to this:

Code: [Select]
<script type="text/javascript" src="scripts.js"></script>
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: ashhil on August 04, 2009, 07:12:49 pm
You did not.

Your page source shows.....(which is from your template.html)
In the <head>


Code: [Select]
<script type="text/javascript" src="/gallery/scripts.js"></script>

Change it to this:

Code: [Select]
<script type="text/javascript" src="scripts.js"></script>


Done, but nothing, is there something I need to do in the configurations for it to work ?
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Joe Carver on August 04, 2009, 07:40:20 pm
Yes, now that you have made the change in the template <head> I can see what you have got for an image.

Looking at a randomly selected page : http://gallery.duffhq.4fan.org/displayimage.php?album=15&pos=0

I can see by file info. that the image was uploaded at 749 x 498 pixels.

But the image on this page is also 749 x 498 pixels which to me means that "Create intermediate pictures" in Admin/Config is set to no. Or maybe you have set to yes and now are creating intermediate images larger than the uploaded size.

Either way your good news is that the pop-up and  show file info. js should now be working. Go into your admin/config menu and see/change what your settings are versus what size you have uploaded.
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Joe Carver on August 04, 2009, 08:36:14 pm
@  ashhil

You need to upgrade now - before you get more support and before your gallery gets hacked!

<!--Coppermine Photo Gallery 1.4.21 (stable)-->

Is old and out of date.
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: ashhil on August 04, 2009, 11:02:17 pm
@  ashhil

You need to upgrade now - before you get more support and before your gallery gets hacked!

<!--Coppermine Photo Gallery 1.4.21 (stable)-->

Is old and out of date.


Thanks for the help , but umm, I actually have no idea how to upgrade, I read how to , but i didn't understand, I asked my host if they could do it for me, they said yes, but haven't taken any action
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Fabricio Ferrero on August 04, 2009, 11:42:23 pm
What part of the docs you didn't understand? Mayby I can explain it to you.
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: ashhil on August 05, 2009, 01:57:59 am
What part of the docs you didn't understand? Mayby I can explain it to you.

Ok i didnt understand the backup part , and how I cannot overwrite the album files and that :S .. .well yeah so i didnt understand ... well everything :S
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Fabricio Ferrero on August 05, 2009, 07:00:10 am
That's not everything! Just 2 little points.

i didnt understand the backup part
email your web hosting service tech support, they will help with that. (Or Google it! Google is your friend ;))

and how I cannot overwrite the album files and that :S
Well, just do not upload the folder from the new version.

So, now you understand everything, please, before posting, upgrade your gallery.
Title: Re: Making Pictures Pop Up When You Click On Them
Post by: Joachim Müller on August 05, 2009, 07:48:32 am
One issue per thread, folks!