February 2, 2013 at 3:26 pm #19983
Hello everyone, I’m hoping someone might be able to help me. I love the Flashlight theme, it looks elegant and beautiful, but I seem to have hit a bit of a brickwall as I’m having problems adding a gallery/portfolio section to the site.
When I click ‘Galleries’ on the main navigation, I just see the name of the portfolio entry I’ve added, in this case ‘Katie’s Gallery’, Please see http://www.antonyhepworth.co.uk/1.jpg
When I click the text ‘Katie’s Gallery’, I’m directed to another page that contains the images I added to ‘Katie’s Gallery’. Please see http://www.antonyhepworth.co.uk/2.jpg
Although, as you can see, for some reason only two images are displayed [rather than the five I uploaded]. What makes it stranger is if I go for ‘Flexible Grid Layout’, instead of choosing ‘3 Column Layout’, all five images are shown. Please see http://www.antonyhepworth.co.uk/3.jpg
I’d much prefer a neater, three column approach if possible and I’d also prefer it if we could have a thumbnail image when I click on ‘Galleries’ rather than having to have the text link. Am I doing something wrong?
If someone could please be kind enough to point me in the right direction, I’d be really grateful.
Many thanksFebruary 3, 2013 at 4:05 pm #105836
Does anyone know if the solution offered at http://www.kriesi.at/support/topic/gallery-does-not-work might fix this? I don’t want to mess around with any PHP unless I know it’s the right thing to be doing!
CheersFebruary 3, 2013 at 4:46 pm #105837
I tested in on my test server and it worked just fine – however if you want to be on the safe side don’t use the wordpress editor to modify the file but use a ftp client software like Filezilla, navigate to wp-content/themes/flashlight/includes and make a backup of helper-slideshow.php. Then download the file, modify it with a text editor and upload it again. It will (for sure) not modify your database and (in the worst case) it just won’t solve your issue.February 4, 2013 at 8:34 am #105838February 4, 2013 at 8:44 am #105839
Okay, I tried the suggested solution and it doesn’t fix the problem I’m afraid.
When I click ‘Galleries’ I still only see a text link and when I follow the text link I can only see two thumbnails, instead of the five I uploaded in my WP admin. However, it works [and I can see all five images] if I chose ‘Flexible Grid Layout’ instead of ‘3 Column Layout’.
Please could you help me fix this? I’m so close to having a site I’m happy with.February 4, 2013 at 10:09 am #105840
Ok, that’s another issue – open up includes/loop-index.php and includes/loop-page.php and replace:
if(!$gallery_active) echo do_shortcode('[gallery force="avia"]');
$attachments = avia_post_meta(get_the_ID(), 'slideshow');
$ids = array();
foreach($attachments as $attachment)
$ids = $attachment[slideshow_image];
$ids = 'ids="' . implode(',', $ids) . '"';
if(!isset($ids)) $ids = '';
echo do_shortcode("[gallery $ids]");
and in includes/helper-slideshow.php replace:
$unqiue_id = avia_post_meta($this->post_id, 'gallery_image');
$this->retrieve_post_images($unqiue_id, 'portfolio', 'url');
$this->retrieve_post_images($this->post_id, 'portfolio', 'url');February 4, 2013 at 10:56 am #105841
Thanks Dude. Looks like we’re definitely getting there! All of this PHP is Double Dutch to me, so it’s a big help.
When I preview the portfolio entry that I’ve named ‘Katie’s Gallery’ it works great – all of the five images are showing and they all line up nicely in the three column grid. So that issue is fixed, thank you. However, if I publish the entry and then press ‘Galleries’ on the main navigation it says ‘nothing found’ is there anyway to have a thumbnail link showing here to allow access ‘Katie’s gallery’ instead of the previous text link please?February 4, 2013 at 5:25 pm #105842
Can you link to the page where its coming up as nothing found. I want to make sure we are addressing the same issue.
DevinFebruary 4, 2013 at 6:41 pm #105843
Thanks Devin it’s http://wildatart.co/?page_id=22 previously when I went to this page there was a text link to view ‘Katie’s Gallery’ but after implementing the suggested changes this has now disappeared. Ideally I’d like a thumbnail on the galleries page that links to ‘Katie’s Gallery’February 5, 2013 at 6:56 am #105844
I think that’s not a problem with the gallery but a configuration problem (portfolio page, etc.). Please create me a wordpress admin account and send me the login data to: (Email address hidden if logged out) – I’ll look into it.February 5, 2013 at 9:25 am #105845February 5, 2013 at 2:52 pm #105846
Looks like its working as you described you would like it to when I just viewed the page. Is it working as you’d like it now?February 6, 2013 at 4:32 am #105847
I’m having Gallery Issues. I can’t for the life of me find how to submit a support question hoping one of you might be able to help out?
When adding a product I add the image as a slide show, but the default image keep appearing? i’ve gone through all the things I could think of. Any suggestions?February 6, 2013 at 2:10 pm #105848
Just go to: http://www.kriesi.at/support/forum/flashlight and select the blue button at the bottom of the page for “Create New thread”. Its just above where the pagination starts.
For your issue, make sure you are using Flashlight version 2.0 (you can download updated theme files from your Downloads on themeforest then install just like you did the first time).
If that doesn’t fix it, create a temporary admin account for me and I will log in and take a look.
You can send the information to my email at DevinVinson (at) gmail.com. Make sure to include a link to this topic so that my spam filter doesn’t grab it :)
I’m going to soft close this topic for now however so we don’t get the two issues confused and we can make sure the original posters topic is fully resolved. Just make a new topic or email me if you are unable to.
DevinFebruary 8, 2013 at 5:01 pm #105849
It’s definitely fixed now. Thanks to everyone who replied and kindly lent a hand – hugely appreciated.February 8, 2013 at 9:03 pm #105850
The topic ‘Problems with Gallery/Portfolio’ is closed to new replies.