Pics disappearing

  • garyc

    #6541

    Hi there

    I have a problem with pics suddenly disappearing from a page today? All was well,

    and actually on my own machine I can see everything. But trying on another machine

    the pics all disappear from page below:

    http://hackneytools.com/welcome/planes/

    All that’s left in the big central column, when I click on the page on the second

    computer, is the black text.

    A friend just alerted me to it, he says he just sees text in that central div also. Any

    ideas please?

    (Problem is happening in Safari on my machine, but not sure what browser friend is

    using, Seems to be fine on both my home machines, when I use Firefox. The images

    are disappearing only from the two child pages of ‘Tools for Sale’, which are called

    ‘Planes’ and ‘Saws’. When clicked through to, from the first page, both pages lose

    the images in the central coloumn)

    Thank you

    Gary

    Admin

    Syahir Hakim

    #34748

    Did you install any plugin recently? Particularly any lightbox plugins?

    garyc

    #34749

    Hi Syahir,

    Yes, I only have a couple of plugins, and one is Lightbox. On both those pages, I have three thumbnails

    with each text entry, and they call up three large images in a slideshow, when clicked on.

    And the weird thing is, on my machine, (in Safari and in Firefox, this morning), it works fine? For my friend,

    and on the other computer in the house, the thumbnails have disappeared.

    best

    Gary

    garyc

    #34750

    Hi Syahir

    I actually have WP JQuery Lightbox running, instead of Lightbox.

    I assume my code is right for displaying thumbnails and linking to their larger counterparts,

    but it might not be. The thing I don’t understand, (and which might be causing the problem),

    was that to stop Lightbox displaying ALL images on the whole page in a slideshow, I had

    to use the rel=”lightbox[Stanley113]” tag to group sets of images together, (so for instance

    now I only get a slideshow of three images.

    As far as I’m concerned, I just wrote a name in there, and it worked. But do the images need

    to actually be grouped in a set somewhere? I avoided WordPress galleries, because it doesn’t

    let me style the display of the thumbnails, which I need to do.

    best

    Gary

    Admin

    Syahir Hakim

    #34751

    Looking at the page’s source code, the markup for each of the image is like this:

    <a href="http://hackneytools.com/wp-content/uploads/2013/01/IMG_6344.jpg" rel="lightbox[Stanley113]" <img src="http://hackneytools.com/wp-content/uploads/2013/01/IMG_6344_thumb.jpg" alt="Stanley 113 Circular Plane": image 1 of 3 thumb"/></a>

    which is obviously malformed. It should be something like this:

    <a href="http://hackneytools.com/wp-content/uploads/2013/01/IMG_6344.jpg" rel="lightbox[Stanley113]"><img src="http://hackneytools.com/wp-content/uploads/2013/01/IMG_6344_thumb.jpg" alt="Stanley 113 Circular Plane: image 1 of 3 thumb" /></a>

    If you have added those codes manually, correct them and the images should be displaying fine afterwards.

    garyc

    #34752

    Thanks so much, Syahir. It seems to work for me, I’ll check with a few friends too.

    Is there any way I can generate correct code without making errors? I was missing a closing tag and

    a quote mark was added, because I wrote ” for ‘inch’, and it obviously had an effect on the code. Not

    huge errors, but enough to mess things up. I’m sort of thinking I shouldn’t be writing code from scratch,

    especially as I’m not that clued up, but maybe everyone does it like this???

    Thanks again for your help

    best

    Gary

    garyc

    #34753

    Hi Syahir,

    Seems to be working for everyone! Well pleased.

    Only one small thing. Child page chunks of texts that are automatically pulled onto

    the front page, now have more text in them. Is there a way to restrict their content

    using a true ‘excerpt’, such as you can with posts?

    Thank you

    Gary

    Admin

    Syahir Hakim

    #34754
    Quote:
    Is there a way to restrict their content

    using a true ‘excerpt’, such as you can with posts?

    See this:

    https://forum.graphene-theme.com/feature-requests/rfe-page-excerpts

    garyc

    #34755

    Cool.

    I put the code mentioned inside open and close php tags in my child theme

    styles. Not sure what to do next though? Sorry!

    I assumed it would add a box on ‘Edit Page’ , to add an excerpt?

    Gary

    Admin

    Syahir Hakim

    #34756
    Quote:
    I assumed it would add a box on ‘Edit Page’ , to add an excerpt?

    Yes. But you may need to toggle its display first by clicking on the “Screen options” pulldown at the top right of the Edit Page.

Viewing 10 posts - 1 through 10 (of 12 total)

You must be logged in to reply to this topic.