Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-08-17 01:21:11

kristenwestlake
Member
From: Wisconsin
Registered: 2012-12-14
Posts: 397
Website

Thumbnail issue after updating publisher

I updated publisher yesterday and after publishing a new album and adding photos to another album, I notice the following:
http://www.kristenwestlake.net/gallerie … andscapes/

1. There is no photo displaying for the album thumbnail. Please refer to the 'Badlands' gallery.
2. The Great Sand Dunes Gallery thumbnail does not update to show other images. The one you currently see is the only image that was in the album prior to adding a few more images this morning. If you update the page you will notice the 'new' and 'White Sands' thumbs update but Great Sand Dunes does not.
3. If I click on the cart button on the newly added images (see the Badlands one for example) there are no thumbnails in the cart area.
4. Likewise, if I add one of the new images to my cart, the thumbnail is broken there as well.

It also appears that these same images do not have their thumbnails appearing to display in the auto index of their album set. In other words, when I go in to the album set to select a cover image, these newly added pictures are not in the drop  down menu.

Thanks for any help!
Kristen

Last edited by kristenwestlake (2014-08-17 01:27:30)

Offline

#2 2014-08-17 03:02:22

kristenwestlake
Member
From: Wisconsin
Registered: 2012-12-14
Posts: 397
Website

Re: Thumbnail issue after updating publisher

In the meantime I'm trying to overwrite the files that I uploaded to see if somehow something was missed on my end while uploading via ftp.

Everything is double checked and intact and I still have all the same  thumbnail issues as listed in my previous post.

Last edited by kristenwestlake (2014-08-17 03:31:01)

Offline

#3 2014-08-17 08:10:08

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Thumbnail issue after updating publisher

Hi Kristen, these issues are caused by Gallery now using thumbnails-for-mobile instead of thumbnails.  Auto Index and Cart now can't find your new thumbnails.  I'll discuss this with Matt.

Offline

#4 2014-08-17 08:20:37

kristenwestlake
Member
From: Wisconsin
Registered: 2012-12-14
Posts: 397
Website

Re: Thumbnail issue after updating publisher

ah ha! and thank you Ben smile

Kristen

Offline

#5 2014-08-18 04:00:50

iplanit
Member
Registered: 2014-05-05
Posts: 38

Re: Thumbnail issue after updating publisher

Hello! I am having the same problem. Thanks!

Offline

#6 2014-08-18 04:43:22

GnBri Photography
Member
From: Hertfordshire and Essex Border
Registered: 2014-07-02
Posts: 17
Website

Re: Thumbnail issue after updating publisher

Same problem here!


GnBri Photography
Hertfordshire Wedding and Creative Photographers

| Creative | Art Focused | Storytelling |

Offline

#7 2014-08-18 18:18:26

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Thumbnail issue after updating publisher

Just to keep you updated. We have a fix in our development code: http://ce4.theturninggate.net/docs/doku … _changelog for release with our next maintenance build.

Offline

#8 2014-08-19 09:13:52

deeley_s
Member
Registered: 2013-09-24
Posts: 59

Re: Thumbnail issue after updating publisher

Not sure if this is a related error.

I bit the bullet and started rebuilding my site from scratch using CE4.  I've tied to publish my first album from publisher and got two issues: Despite selecting 18 different images in Lightroom, I got 16 copies of the same picture published - 16 of the same thumbnails and 16 full images when I expanded them - but the image metadata was correct! I deleted the directory and tried again with a single  image - it went fine, so I tried another small batch. Same issue - multiple repeats of some of the images, and to compound things, many of the thumbnails are badly distorted - it looks as though the image scaling was set by the picture that the thumbnail should have been, but the image data was coming from the wrong file. Take a look at

http://www.artofthewild.co.uk/galleries … s/Badgers/

(I know I've got the space invaders - haven't sorted out the customer thumbnails yet).

I've also got an issue with the publisher-managed front page - a stream of error messages with basedir_restiction. Is this a hosting issue?

Offline

#9 2014-08-19 10:53:02

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Thumbnail issue after updating publisher

did you by chance use the Publisher renaming feature? If so, I believe there's a bug if you use a naming preset that uses sequential naming. From what you describe, this is what could be happening.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#10 2014-08-19 21:45:18

deeley_s
Member
Registered: 2013-09-24
Posts: 59

Re: Thumbnail issue after updating publisher

I did. I'll turn it off and republish and see what happens.

Offline

#11 2014-08-19 22:19:20

deeley_s
Member
Registered: 2013-09-24
Posts: 59

Re: Thumbnail issue after updating publisher

That fixed it. Now for the basedir issue....

Offline

#12 2014-08-19 22:29:33

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Thumbnail issue after updating publisher

first thing to try is getting the spaces out of the template name. Change ce4 gallery template to ce4_gallery_template. Folder and file names should contain only letters, numbers, underscores, or dashes. No spaces or special characters.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#13 2014-08-20 03:12:44

deeley_s
Member
Registered: 2013-09-24
Posts: 59

Re: Thumbnail issue after updating publisher

Changed both templates - to ce4_gallery_template and ce4_autoindex_template respectively. installed into ttg-be galleries and autoindex directories. changed the phplugins-sample to phplugins. Deleted all old album sets and albums. Created a new album titled pages-gallery, set to do not autoindex, do not search, with a single picture of a hare in it ... and

realpath(): open_basedir restriction in effect. File(/var/www/artofthewild.co.uk) is not within the allowed path(s): (/var/www/artofthewild.co.uk/httpdocs:/tmp:/usr/share:/var/www/artofthewild.co.uk/passwords)|#0 [internal function]: ErrorHandler::handleError(2, 'realpath(): ope...', '/var/www/artoft...', 195, Array) #1 /var/www/artofthewild.co.uk/httpdocs/ttg-be/publisher/application/models/Album.php(195): realpath('../') #2 /var/www/artofthewild.co.uk/httpdocs/ttg-be/templates/gallery/ce4_gallery_template/template_index.php(364): Album->getBreadcrumbs(Array) #3 /var/www/artofthewild.co.uk/httpdocs/ttg-be/publisher/application/controllers/GalleryController.php(257): include_once('/var/www/artoft...') #4 /var/www/artofthewild.co.uk/httpdocs/ttg-be/publisher/application/controllers/GalleryController.php(189): GalleryController->gallery('39540', 'index', '') #5 [internal function]: GalleryController->anywhere('pages-gallery', 'index', '') #6 /var/www/artofthewild.co.uk/httpdocs/ttg-be/framework/controllers/Controller.php(41): call_user_func_array(Array, Array) #7 /var/www/artofthewild.co.uk/httpdocs/ttg-be/framework/Framework.php(124): Controller->dispatch(Array) #8 /var/www/artofthewild.co.uk/httpdocs/lib.php(48): Framework->route() #9 /var/www/artofthewild.co.uk/httpdocs/index.php(3): route(Array) #10 {main}|URL: /index.php

Deleted the entire publisher service. Reinstaleld pubisher service. created new album pages-gallery, published a picture of a hare with it- and now I have a front page (see www.artofthewild.co.uk) with TWO thumbnails of a hare and no main image!

Offline

#14 2014-08-20 03:52:40

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Thumbnail issue after updating publisher

and now I have a front page with TWO thumbnails of a hare and no main image!

when you say "no main image" what are you expecting? The pages-gallery replaces what was your original Home page with just a gallery. So if you were expecting an image you originally included with your Home page, you won't be seeing it.

One way to include a large image with the gallery is to include it in the pages-gallery album within the page copy, using html.

Were you expecting more or less than two images in the Home page gallery? Because the pages-gallery in the galleries/ folder has these two images. So check the album in Publisher.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#15 2014-08-20 04:08:03

deeley_s
Member
Registered: 2013-09-24
Posts: 59

Re: Thumbnail issue after updating publisher

The gallery type in pages is set to galleria slideshow. So I was expecting to a galleria slideshow dominating the page, not small thumbnails that I have to click on to expand. I was hoping to see something like the galleria page illustrated in the documentation:
• Home • using_ce4_publisher_to_manage_your_ce4_pages_home_page • ce4_pages_gallery

I'm obviously missing something in the settings - but what?

Offline

#16 2014-08-20 04:53:53

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Thumbnail issue after updating publisher

the way that the Publisher control of the Home page gallery works is that you create an album of the type of gallery you want shown on the home page. If you want a Galleria slide show that's controlled by Publisher to be your home page, you need to create a Publisher template from CE4 Stage that is configured for Galleria and create an album from this and give it the slug "pages-gallery".
Right now, your pages-gallery is made from CE4 Gallery so that is what you will get on the Home page.
The Galleria setting in Pages is the fallback in case there is no pages-gallery for Publisher to find.
If that's the case, then any images from the filmstrip beyond what are used for the various pages (Contact, Info, etc.) will be used in a Galleria slideshow as your fallback.

Matt has a blog post about it here: http://theturninggate.net/2014/07/the-p … home-page/

Last edited by rod barbee (2014-08-20 04:56:26)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#17 2014-08-20 08:55:07

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Thumbnail issue after updating publisher

Hi, to remove the basedir error, disable breadcrumbs for your pages-gallery.
The breadcrumbs algorithm attempts to look into the directory one level above where the gallery is located.  In your case it's looking in /var/www/artofthewild.co.uk when the gallery is at /var/www/artofthewild.co.uk/httpdocs.  On your setup that raises a security warning. Disabling breadcrumbs should solve it.

Offline

#18 2014-08-20 20:38:53

deeley_s
Member
Registered: 2013-09-24
Posts: 59

Re: Thumbnail issue after updating publisher

Hi Rod,
thanks - that worked. So now I've:
Built a new template in stages, set the grid type to galleria slideshow, called it ce4_homepage_template. It previews fine inside Lightroom. Exported it to the ttg_be/templates/gallery folder. Changed phplugin-sample to phplugins. Created a published album called "pages-gallery", set the template to ce4_homepage_template, unticked breadcrumbs, ticked hide from search and hide from autoindex, added some page context text, published it, dropped an image onto it and re-published it.

... and nothing. The page content text I entered into the pages-gallery page copy section appears immediately below the masthead, but no filmstrip, no images.  You can see it at www.artofthewild.co.uk. This feels like a settings issue, but why would it work fine in stages preview?

Offline

#19 2014-08-20 22:58:21

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Thumbnail issue after updating publisher

First thing to try is making sure you're using all the latest versions. You're using Stage 6.0.1, the latest is Stage 6.0.2
Also make sure you're up to date with Publisher and TTG-BE
http://theturninggate.net/2014/08/ce4-u … t-15-2014/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#20 2014-08-21 06:45:05

deeley_s
Member
Registered: 2013-09-24
Posts: 59

Re: Thumbnail issue after updating publisher

Apologies to Ben -I missed that he gave the breadcrumbs answer.

Updated stage to 6.0.2 (When did that come out? I didn't see an email about it) -and  I now have a working gallery feeding directly out of publisher! Thanks to all for their support

Offline

#21 2014-08-22 10:05:34

deeley_s
Member
Registered: 2013-09-24
Posts: 59

Re: Thumbnail issue after updating publisher

Ah. I spoke too soon. I've just about got the homepage working on PC, but when I try to access via IPAD, I get an error message that it is unable to find ce4_homepage_template/template_mobile.php. And that's not too surprising, since CE4 stages doesn't seem to produce one. (not the cart template, either). I'm using stages 6.0.2.   I tried copying a template_mobile.php from one of the other directories - removed the error message, served me  a masthead and then a black screen with missing image icons. Am I missing something or doing something stupid?

Offline

#22 2014-08-22 10:19:52

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Thumbnail issue after updating publisher

I'm seeing your Galleria slide show on my iPad as well as my phone

I'm guessing that there's no mobile.php for Stage by design. And Stage shouldn't be used as a cart template gallery either, so that's likely why there's no cart_template

Last edited by rod barbee (2014-08-22 10:23:41)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#23 2014-08-22 12:12:52

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Thumbnail issue after updating publisher

Correct, Stage should not be used for cart templates; we require CE4 Gallery for that.

For various reasons, a future version of CE4 Stage will probably include a separate _mobile page. I would prefer that it didn't, but I think it's better for the overall ecosystem that it does.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB