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!!!
Link to your CPG, please.
Quote from: ron4mac on July 22, 2019, 04:27:56 AM
Link to your CPG, please.
http://southjerseypublishing.com/gallery/index.php (http://southjerseypublishing.com/gallery/index.php)
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/
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?
Also, in that waterdrop theme, the full-size image isn't the actual dimensions of the full-size image. :-\
And now the theme won't change to anything else!
It remembers the theme= thing in a cookie. Just enter &theme=xx at the end
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?
You mean so people have to scroll around to see all parts of the image?
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 ...
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?
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.
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.
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.
Deleted the file you said, but it still resizes the popup. :-\
You may need to clear cache.
Link, please...
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 (http://southjerseypublishing.com/cm/photos/index.php)
I get no full size image at all. Seems not enabled.
I have to register or login for full images.
Hang on, let me change it in config.
Okay. You should be able to view full size. I have the gallery currently hosted on SoSugary, but they have so much down time that I'm trying to recreate my gallery on my own website. Here's the link to the gallery on SoSugary. What I'm trying to do is create the same gallery on my website. I can't just copy the files from SoSugary, as they don't provide access to any of the files from my gallery on their server, so I'm left with trying to replicate it on the fly. Please check out the enlarged images on my SoSugary gallery. Here's the link:
http://cameron-mitchell.sosugary.org/index.php (http://cameron-mitchell.sosugary.org/index.php)
Hmmm ... had worked for me, I thought.
This should do it:
rename js/dispdisplayimage.fullsize.js to js/no.dispdisplayimage.fullsize.js
Quote from: gettysgirl on July 29, 2019, 03:52:39 AM
Here's the link:
http://cameron-mitchell.sosugary.org/index.php (http://cameron-mitchell.sosugary.org/index.php)
I can't pop full images there, either.
Had to enable full size on SoSugary too. You can access them now. The behavior of the popup is what I'd like to accomplish on the new gallery.
I looked at the source for my album and saw that it called for js/jquery-1.7.2.js. In the thread you directed me to, it said if we wanted the full image to display to change that to call for jquery-1.3.2. There is no such file in the directory. There is, however, a jquery-1.4.2. Would changing this do what I want? If so, where do I change it?
Follow my advise that I posted 4 messages up ...
rename js/dispdisplayimage.fullsize.js to js/no.dispdisplayimage.fullsize.js
Did it. No change.
I'm also getting this error when I try to upload images:
Fatal error: Cannot redeclare theme_cpg_die() (previously declared in /xxx/xxx/xxx/southjerseypublishing.com/cm/photos/uniload.php:63) in /xxx/xxx/xxx/southjerseypublishing.com/cm/photos/themes/mine3/theme.php on line 1740
(xxx substituted for actual file path for security's sake) About ready to throw in the towel and just stay with SoSugary. :-\
I tried to help you start with a well written theme. This error is happening because of your poorly written theme. If you provide me with access to your site, I'll help clear things up.
Place this file (as filemanager.php) in your CPG folder/directory. It will allow only me to view your files and make changes.
Uploaded your file to my CPG directory. I have my theme LOOKING pretty much how I want it so far (still working on it), so please don't do anything with the css. It's the functionality and full-size image popup I'm having major fits with. Thank you for your help and patience. I DID get the photo upload functioning without any errors by uploading the waterdrop theme php file.
For some reason that file fails to function at that hosting site (you can remove the file), so I wasn't able to look at or do anything. If you've replaced your theme.php file as you said, your error situations should all be resolved. And the full sized images do work as you've requested (you may have to clear cache.) So you should be pretty much set.