[bd] Image 1.2.2

Visual awareness increased.

  1. xfrocks

    xfrocks XenForo rocks! Staff Member

  2. anto74

    anto74 Member

    Hi @xfrocks
    i have one problem with this addon.
    I use [bd] Image: Threads Grid in my Home page ( Widget page) but randomly the images in widget not shows ( please see attached file)
    The images in threads have the same url structure and they shows ok
    The images ok is
    The image that not shows in widget is
    In Admin log error i have this error, related to image that not shows in widget

    ErrorException: Fatal Error: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: JPEG datastream contains no image - library/XenForo/Image/Gd.php:78
    Generato Da: Account Sconosciuto, 4 minuti fa
    Analisi dello Stack
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Stato Richiesta
    array(3) {
      ["url"] => string(214) "https://www.macroforum.org/bdImage/thumbnail.php?url=https%3A%2F%2Fmacroforum.org%2Fdata%2Fphotos%2Fo%2F0%2F21-1489582111-eff3fb6635f5c5e1fbc2076cad6f3979.jpg&size=145&mode=145&hash=47903f01d0badad169cbd3d24338fbf0"
      ["_GET"] => array(4) {
        ["url"] => string(89) "https://macroforum.org/data/photos/o/0/21-1489582111-eff3fb6635f5c5e1fbc2076cad6f3979.jpg"
        ["size"] => string(3) "145"
        ["mode"] => string(3) "145"
        ["hash"] => string(32) "47903f01d0badad169cbd3d24338fbf0"
      ["_POST"] => array(0) {
    Where is the problem? I don't know why it happens randomly

    Attached Files:

  3. anto74

    anto74 Member

    Ok, i solved :)
    The problem was related to attachments max size set too small in admin panel :)
    Now it's ok
    xfrocks likes this.
  4. anto74

    anto74 Member

    Hi @xfrocks
    i'm using [bd] Image Thread Grid to shows photos embedded in New threads, but i would to shows also photo embedded in New threads created only by user that i follow.
    It's possible make this modification if i paid?
    Last edited: Mar 16, 2017
  5. anto74

    anto74 Member

    Hello @xfrocks
    i have little problem.
    I added bd Image sidebar widget in thread view template to shows other photos=threads uncommented by logged user.
    example: https://macroforum.org/threads/empusa-pennata-thunberg-1815-_2.101/

    I want shows only photos=threads uncommented by logged user: if this user commented photo=thread the thread not shows in widget...
    How can i make this?
    Last edited: Apr 10, 2017
  6. Arms

    Arms Webmaster

  7. xfrocks

    xfrocks XenForo rocks! Staff Member

    They are quite different in nature and can be used together if you need both of their features. The add-on can pick an image automatically, you can change that in the options page. For existing threads, you can run the rebuild tool to pick up thread images.
    Arms likes this.
  8. Arms

    Arms Webmaster

    Still can't get this to work as I want.


    If no image is added, its using the avatar? does it not use the fallback image?

    And it wont automatically use a hotlinked image?
  9. Arms

    Arms Webmaster


    I used to use

                <xen:if is="{$thread.bdimage_image}">
                    <img src="{xen:helper bdImage_thumbnail, $thread.bdimage_image, 240, sh}" alt="{$forum.title}" class="center" />
    to put the current thread image in the sidebar, but it no longer works in the newer version.

    Should this work?