WordPress.org

Ready to get started?Download WordPress

Forums

NextGen gallery: Singlepic: Alt-text displayed. No image. (40 posts)

  1. LostInNetwork
    Member
    Posted 6 years ago #

    I have a strange problem: NextGen Gallery _suddenly_ ceased to show embedded images both on static pages and in the blog. I did not touch a thing...

    The [singlepic] thing seems broken. It only shows the alt-text.

    The created link works, and shows the image once clicked. Galleries, albums, everything works - except IMG tags.

    This happens on Vista (Firefox and IE) and Ubuntu (Firefox). Several people have confirmed the problem.

    ------------------------------------------------
    NextGen gallery creates the following URL:
    /wordpress/wp-content/plugins/nextgen-gallery/nggshow.php?pid=20&width=160&height=120&mode=

    using:
    [singlepic=20,160,120,,left]

    Picture 20 exists in a gallery.

  2. LostInNetwork
    Member
    Posted 6 years ago #

    I just remembered that NGG was updated a while ago...
    Maybe that broke the singlepic feature?

  3. Alex Rabe
    Member
    Posted 6 years ago #

    Can you add a link for an example ? Check if you can call the nggshow.php file manually...

  4. symmetrium
    Member
    Posted 5 years ago #

    I have exactly the same problem.

    Galleries are displayed fine, yet single image post, the image browser, etc. do not work.

    I think it's a theme conflict. There are no problems when the "fastway" theme is used, yet this problem occurs when I switch back to my regular theme.

    Swithing all plugins (except nextgen gallery) off did not change anything, the result is consistent in opera, firefox, and ie7.

    When I isolate the image address and paste it into the address bar I only get a blank page with the following text:

    http://symmetrium.org/wp-content/plugins/nextgen-gallery/nggshow.php?pid=12&width=&height=330&mode=

    If i switch themes and do the same, I do actually get the image.

    Here's a link for example of the situation.

    Thank you very much in advance for any tips.

  5. Alex Rabe
    Member
    Posted 5 years ago #

    looks good from here, anything changed ?

  6. nathanielsandell
    Member
    Posted 5 years ago #

    My single pictures don't show up either.
    The code looks like this:
    '<h3>P1020224.JPG</h3>
    <div class="pic">

    <img alt="P1020224.JPG" src=".../wp-content/gallery/uncleb//P1020224.JPG%20title=" uncle="" jj="" and="" auntie="" sin's="" wedding="" photo="">

    </div>'

    I don't know if the double // matters before the name of the picture.
    Notice the %20 instead of an end quote?
    When I took the page code and put it in post, the picture was displayed (as opposed to the alt text).
    An example of the working code in a post:
    http://is.gd/9Sn

    Where do I fix the code so the src link ends in a " instead of %20?

    Thanks in advance for the help.

  7. Alex Rabe
    Member
    Posted 5 years ago #

    Try to remove the slash in the gallery path (See manage Gallery - edit gallery)

  8. symmetrium
    Member
    Posted 5 years ago #

    yeah now it looks good because - sorry for my impatience - I switched to another theme!...

    [just for the sake of it I checked out the gallery path and there was no slash at the end of it. I even tried adding one - to no avail... :/]

    It's really strange, to me it really looks like it's the theme that interferes with nggshow.php

    When I save the faulty page (where the pic doesnt show) as html and switch the theme on my site (to the theme that does not have problems) and then open the saved page (the html that is on my hard disk and that carries the faulty theme) the picture does show up.

    It seems that that there is something in the theme that doesn't let nggshow.php do its job properly and causes it to return the image's address in firefox (and an empty image box on ie7) instead of the actual image... Is that a possibility?

    (I hope that what I wrote does makes sense and helps...!)

  9. nathanielsandell
    Member
    Posted 5 years ago #

    I removed the double slash by removing the end slash in the gallery settings. Thanks.
    But, the picture still doesn't show up because the src link still ends in a %20 instead of a ".

    '

    <img alt="P1020193.JPG" src="http://nathanielsandell.com/blog/wp-content/gallery/uncleb/P1020193.JPG%20title=" uncle="" jj="" and="" auntie="" sin's="" wedding="" photo="">
    '

    Is this a problem with my theme? I would prefer not to switch themes. This seems like an easy problem to fix if I knew where this code was generated.

  10. Alex Rabe
    Member
    Posted 5 years ago #

    Please disable first all other plugins and check the behaviour again...

  11. nathanielsandell
    Member
    Posted 5 years ago #

    You were right. It was my "SEO Friendly Images" plugin.
    It works fine now.
    Thanks for the help.

  12. Milan Stosic
    Member
    Posted 5 years ago #

    Hi, I have same problem with singlepic option. I've read and tried all above and nothing happens. I disabled all plugins instead of NextGen and didn't helped.

    Then I've tried to switch theme and used WordPress basic theme and the samo thing again.

    As someone else allready wrote, when I use singlepic option I get url like this http://nisdance.com/cms/wp-content/plugins/nextgen-gallery/nggshow.php?pid=90&width=100&height=75&mode=

    On my other website everything works fine (there are many more plugins than here).

    I use [singlepic=90,100,75,,left]

    URL that you can take a look is http://nisdance.com/

    Regards, Milan

  13. buber
    Member
    Posted 5 years ago #

    I'm having the exact same problem as kwisko. This is only for singlepic, I've gotten other things to work just fine. I have a custom theme. My url for the image looks very similar to kwisko's. Has anyone figured out what is causing the problem?

  14. Agent007
    Member
    Posted 5 years ago #

    I have a similar problem. In IE6 the pic inserted into my post with the NextGen button works fine. But in Firefox2 it looks like a 10x10px pic instead of the 320x240px as specified by the NextGen code [singlepic=4,320,240,,left].

    My site is at BikingTrails.com.au and the post for 7th July shows the problem. The previous posts had to have an IMG tag hardcoded as I couldn't get NextGen to display the pic properly.

    The resultant IMG & link code generated on the page is:

    <div class="ngg-singlepic-wrapper ngg-left"><img class="ngg-singlepic" src="http://bikingtrails.com.au/wp-content/plugins/nextgen-gallery/nggshow.php?pid=4&width=320&height=240&mode=" alt="wa-perth-fire-engines-01.jpg" title="wa-perth-fire-engines-01.jpg" /></div>

    Any help to show the image at correct size would be appreciated.

  15. Tork
    Member
    Posted 5 years ago #

    same prob over here since a few days...
    anything works fine expect the singlepics....

    a solution pls.....
    thnx

  16. mkfish
    Member
    Posted 5 years ago #

    Hi,

    I've also got this problem. WP 2.5.1 NG 0.97

    See http://www.bigred500.co.uk/?p=10

    If you click on the displayed image name the slideshow works fine.

    Generated code

    <p><a href="http://www.bigred500.co.uk/wp-content/gallery/post-pictures/img_4776_1_1.jpg" title="I've now got two keys" class="thickbox" rel="singlepic11" ><img class="ngg-singlepic" src="http://www.bigred500.co.uk/wp-content/plugins/nggallery/nggshow.php?pid=11&amp;width=400&amp;height=400&amp;mode=" alt="img_4776_1_1.jpg" title="img_4776_1_1.jpg" /></a></p>

    and targetting nggshow.php directly using this url

    http://www.bigred500.co.uk/wp-content/plugins/nggallery/nggshow.php?pid=11&amp;width=400&amp;height=400&amp;mode=

    displays the exact same URL in the browser window. The interesting thing is that in FF3 with HTML validator you can see that the page content is actually a .jpg file and the tab name is "nggshow.php (JPEG Image)"

    It's like the thumbnail .jpg data stream is corrupt?

  17. mkfish
    Member
    Posted 5 years ago #

    Hi, again.

    Forgot to add that this is what I have in my post.

    [singlepic=11,400,400]

    And, I do think the problem is related to the resizing of the image. The

    The original I have is 1036 x 691. I've added this to see if it made a difference. No luck.

    [singlepic=11,1036,691]

    Also for the 400x400 direct URL this is what FF3 validator shows me after it says that the page is not in my domain list? Line 1 and 2 are blank. This is the start of line 3.

    ÿØÿà�JFIF������ÿþ�<CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 100
    ÿÛ�C�

    then lots more goofy jpg characters.

  18. Tork
    Member
    Posted 5 years ago #

    last update::

    for me it was the plugin >>

    WP-UserOnline
    and it's widget that fucked it up......
    anything ok now by disabeling it.

    seems the last update of it was the prob

    hope this helps someone out now....

  19. mkfish
    Member
    Posted 5 years ago #

    I've only got these plugins enabled and its still just showing the image name.

    NextGen Gallery 0.97
    NextGen Gallery Widget 1.22

    I'm pretty sure that the jpg data is corrupt due to resizing via [singlepic] How/why... I don't know.

    I've added a new post at http://www.bigred500.co.uk/?p=11 with

    [singlepic=12] and
    [gallery=3]

    Gallery 3 has pic 11 and 12 in it.

    The [singlepic] is broken but the [gallery] works well.

    The problem does appear to be with [singlepic]

    Creating a gallery for each picture does seem a bit extreme, but it might work.

  20. Stefanauss
    Member
    Posted 5 years ago #

    NextGen Gallery 0.98
    Wordpress 2.5.
    Upgrade to 2.5.1 and....

    singlepic show just image title.
    slideshow doesn't load at all. it displays the charging effect endlessy.

    Originally i uploaded NGG 0.96 and then updated though Plugin Planel two times. Maybe it was broken since 0.97 but i didn't notice.

    Manually downgrading to 0.96, everything works fine.
    Now i have WP 2.5.1 and NGG 0.96.

  21. cabaa99
    Member
    Posted 5 years ago #

    FYI.. I had the same problem: [singlepic] was broken but [gallery] was fine. Also clikcing cliking on the broken [singlepic] (empty box) will bring up the full view Ok.

    Luckily I figured out the problem: I had added a carriage return in the functions.php file of my theme (Revolutions). The functions.php file has only 4 lines, and adding an ENTER at the end of it broke it.

    I just deleted the extra blank space and it worked. Got the idea from one of the postings on this similar topic: http://wordpress.org/support/topic/171358?replies=10

    Hope it helps.

  22. bobandthomas
    Member
    Posted 5 years ago #

    I'm now getting the singlepic error described above. All other simple tags work and it doesn't matter what picture, size or options I use, I still get the red X and the alternate text. I've only recently seen it and, though I've recently added new plug-ins, I tried removing them. I've tried disabling all my other plug-ins, as well, and have removed the extra blank space as described above (though I'm using a different style). Are there any other paths i can follow to try to debug this? I really want single pic..

    Thanks,
    --thomas

  23. bobandthomas
    Member
    Posted 5 years ago #

    fixed my own example. garbage characters at the beginning of thumbnail.inc.php. I don't know a systematic way to find these things.
    --thomas

  24. quanou
    Member
    Posted 5 years ago #

    Hi guys,
    I have a display problem of images in my blog since the new version of FF : 3.0.1 (I strongly think so). It worked fine before. No problem w/ IE7.
    Please have a look : http://quantran.free.fr/blog/
    For example, for a pic not displayed, if I look at the location :
    http://quantran.free.fr/blog/wp-content/plugins/nextgen-gallery/nggshow.php?pid=1847&width=320&height=240&mode=
    And try to display this on its own, it doesn't show the first time. If I refresh the page (F5), it shows up.
    When I get back to the blog again, then F5, THIS image may show up
    Weird hein ?
    Thanks for your help :)

  25. CatzHoek
    Member
    Posted 5 years ago #

    I had exactly the same Problem.
    I wrote my own Plugin and suddenly Singlepic didn't work anymore.

    The solution was exactly what cabaa99 said 5 post before mine. There where whitespaces at the end of my custom plugin that somehow broke the code.

  26. bvlrp
    Member
    Posted 5 years ago #

    I have a slightly different problem...not sure if it's been addressed or not. The singlepic image, when clicked on more than once, appears to be split in half and duplicated - so you can see the bottom half on top and immediately below it is the bottom half. If the page is refreshed, the image will expand as normal when clicked. But if it is clicked on more than once, the same problem occurs. This problem only happens in Internet Explorer and not Firefox.

    http://bvlrestoration.org/

  27. bvlrp
    Member
    Posted 5 years ago #

    Update to earlier post. The problem also seems to occur in the gallery as well as the slideshow and gallery widgets using Internet Explorer 6.

  28. quanou
    Member
    Posted 5 years ago #

    My problem differs from yours, since it suddenly happened. I never changed anything in the code.
    The weird thing is that it works fine w/ any other web navigators, except FF (it used before).
    Someone suggested that it may come from the website host. But i don't know why it only impacts FF...

  29. bvlrp
    Member
    Posted 5 years ago #

    There is a similar problem with the images showing up in Internet Explorer 7. The difference with the issue in IE 7 is that the image appears to be duplicated at the bottom: http://bvlrestoration.org/pictures/

  30. hraklispap
    Member
    Posted 5 years ago #

    I have just uploaded 10 feamous plugin into the wpcontent/plugins directory on the server but when I go to activate it, the plugin doesnt show up in the listing. Any idea what can be causing this problem? I am using the latest version of the plugin. thankyou

Topic Closed

This topic has been closed to new replies.

About this Topic