Newbie Needs Help! Newbie Needs Help!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Newbie Needs Help!

Started by gettysgirl, July 22, 2019, 02:46:55 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

gettysgirl

Having quite a bit of trouble getting the full-size image to display when you click on the intermediate image. And this is strange!!! Instead of  showing the image you've clicked on it opens a full-size view of my header image, no matter which image in which gallery you click on. Have I broken something in customizing my theme? Haven't touched the theme.php file. I know nothing about javascript or php. Please, can some kindly person help me, and put it in simple terms so I can understand?  Thank you, my friends!!!

ron4mac



ron4mac

There is issue with your theme. It works as expected with other themes.
http://southjerseypublishing.com/gallery/?theme=water_drop

There are plenty of fan site themes out there that you may want to consider starting with.
example: https://monicandesign.com/shop/category/themes/

gettysgirl

It worked for a while, but then it started doing this weird thing. I must've broke it somehow in customizing the template and css, but I don't know what I did that broke it. As I said, I know absolutely zilch about javascript or php, so I did not touch those files. I thought maybe the scripts.js file may have somehow become corrupted. Is there somewhere I can download just that file to replace the one in my directory just to see if that solves my problem?

gettysgirl

Also, in that waterdrop theme, the full-size image isn't the actual dimensions of the full-size image.  :-\

gettysgirl

And now the theme won't change to anything else!

ron4mac

It remembers the theme= thing in a cookie.  Just enter &theme=xx at the end

gettysgirl

How do  get it to display the actual full-size image when the intermediate image is clicked on rather than a re-sized image in a re-sized popup window?

ron4mac

You mean so people have to scroll around to see all parts of the image?

ron4mac

The info in this thread may help with your theme issues.
https://forum.coppermine-gallery.net/index.php/topic,79852.msg386891.html#msg386891

You moved your gallery ...

gettysgirl

Yeah I did move it because the old installation seemed so messed up.

Is there a way to add a header image to the water drop theme?

ron4mac

Here is a free theme that you can download: https://monicandesign.com/shop/premade-12/
You can use it as a tutorial to learn how you would do certain things.

gettysgirl

Thank you for all your help ron4mac. I really appreciate you taking the time to try and help me. As I'm completely inexperienced in ALL things php and javascript, I've still been unable to understand how to get my full-sized image to display full-sized when you click on the intermediate image, and then close on click. I apologize for my obvious thickness, but could you try one more time, perhaps with some code (or whatever) that I can copy and paste in a clearly defined place/file? My full-size images are mostly 1037x800, so not THAT huge. Again, thank you so much for your patience.

ron4mac

The default behavior when displaying a full sized image is to display it to fit in a window, showing the entire image as large as appropriate. This is done with some javascript. If you rename one javascript file, it won't load and be able to carry out that behavior.

Rename js/jquery.dimensions.pack.js to js/no.jquery.dimensions.pack.js (for example). Or you could delete the file, if you desire.

If you were to upgrade CPG in the future, the behavior would return ... but you could rename (or delete) the file again.


gettysgirl

Deleted the file you said, but it still resizes the popup. :-\   

ron4mac

You may need to clear cache.

Link, please...

gettysgirl

Please don't change anything. Had a hard time getting it back to where the theme I'm working on displays changes I'm trying to make. Still working on the theme (obviously). Cleared the cache and it didn't fix the problem. Thanks for your help and patience.

http://southjerseypublishing.com/cm/photos/index.php

ron4mac

I get no full size image at all. Seems not enabled.
I have to register or login for full images.

gettysgirl

Hang on, let me change it in config.