Has anyone seen this problem? I have some articles where I used tinyzenpage to insert custom thumbnails. Some of them recently broke. Its odd as it doesn't seem to have any rhyme or reason to it. Some are in the same article. The first one I found was in one of the oldest articles so I thought perhaps it was a cache expiry problem. But when I started going thorough articles I found some that were fine and others that were not. They were okay earlier today and I hadn't made any changes to the articles. The image in tinymce shows up as broken. If I re-insert it everything is fine again.
Scratching my head and hoping someone else has seen this.
Thanks
Using Zenphoto version 1.4.2.1 [9180]
http://sowearedads.com/news/being-a-dad-is-awesomethat is one of the pages with one working and 3 not working.
Comments
If the image had not been cached, you get a link to the image processor /zp-core/i.php, If it has already been cached it links to the cached image within /cache.
I did a quick look at tinyZenpage actually always uses image processor links. So did you maybe clear the cache or renamed or moved images or album. Or even moved the site? Since the links embeded neede to be static they can't update themselves.
What I do is write the article. Upload the files I want to use. Insert the thumbs using tinyZenpage and publish. So all the images in each article have nearly the same creation times when I uploaded them to the server.
When looking at the image links in the published page they do indeed show that they point at i.php. I really don't know. I'm tempted to just let the images be cached then copy that one to a new thumbnail directory and use that for the image thumbnail source.
The only other thing I can think of is that the album and images are all unpublished. It didn't seem to be an issue since I don't even have a gallery page and just use an image page to show the individual photos when the thumbnail link is displayed. Maybe this is part of the problem.
For this functionality it actually does not matter if your theme has a standard structure with gallery page or not.
You said you use a local and a remote server? Do you copy between those two so something could get lost? There should be no need to copy any cached images manually.
Did you encounter any php errors or similar?
I agree with you about the cached images. I have absolutely no idea why copying them across worked. It seems to me that it should no have had any effect.
Yes I have a local and remote server but they are both (effectively) installed at the domain root so the links would work in both. It is possible I added the image thumbs locally then synced the remote with the local for some of the articles. I was stuck somewhere that did not decent wireless (forever getting the xsrf errors when trying to work) so I would write the article locally then match everything up when I got home.
Thanks for taking a look acrylian. It is working fine now and the fix wasn't painful as having to go back through individual articles. IDK, if it happens again I'll look for a culprit.
So, no more image inserting with my local server. The weird thing is that I don't see any change being made to the generated thumb in the cache/album directory.
/me wanders off scratching head to reinsert all the problem thumbnails having learned my lesson...