Resource icon

[bd] Image 1.0.3

No permission to download
@xfrocks Sorry to repeat but still having issues:

What do you suggest I use for this:

View attachment 70144

I've added a sidebar to thread and want to show the image the primary image for that thread from bdImage.

atm i've tried:

<img src="{xen:helper bdImage_thumbnail, $thread.bdimage_image, 240, 240}" />

and

<img src="{xen:helper bdImage_thumbnail,$thread.bdimage_image,240,320}" {xen:helper bdImage_imgAttribs,$thread.bdimage_image,240,320} />

Not sure what the difference is for bdImage_imgAttribs version.

So want image to show fully in sidebar, height wise I want it to autoheight, and for width, if greater than 240, shrink to 240, else leave as is.

I tried using the thread images but that is for images from all threads. I just want images within the thread thats open.

Maybe a widget specifically for a single thread?
For your need, a widget may not be the best fit since you need all those information below the image. You can keep using this (with stretch height mode, no imgAtribs):

Code:
<img src="{xen:helper bdImage_thumbnail, $thread.bdimage_image, 240, sh}" />
 
Very nice add-on. This could be a perfect tool for loading images from xenMediaGallery or sonnb xenGallery. Would be great if the add-on could offer to choose the data-source for the images. (browse the images a user has uploaded to the gallery)
 
Will this addon work without adding a widget?
Or Widget is required for this to display Images?
I installed this, but nothing shows :rolleyes:
 
Will this addon work without adding a widget?
Or Widget is required for this to display Images?
I installed this, but nothing shows :rolleyes:
You can use widget if you need their features. Other than that, can check the options to turn on or off images in places. And @arms said it correctly, the add-on picks up image upon saving so you should create new thread or edit some post.
 
Hi @xfrocks
i have this error in Error Admin Log
What could be the problem?
Code:
Log Server Error
Info Errore
ErrorException: fopen(): Filename cannot be empty - bdImage/thumbnail.php:100
Generato Da: Account Sconosciuto, 57 minuti fa
Analisi dello Stack
#0 [internal function]: XenForo_Application::handlePhpError(2, 'fopen(): Filena...', '/home/emtvqmnh/...', 100, Array)
#1 /home/emtvqmnh/public_html/bdImage/thumbnail.php(100): fopen('', 'rb')
#2 {main}
Stato Richiesta
array(3) {
  ["url"] => string(184) "http://www.macroforum.org/bdImage/thumbnail.php?url=internal_data%2Fattachments%2F7%2F7213-b4d9f0abac1add65a6143d90cd2e972a.data&size=147&mode=130&hash=8bf7c9b48f7845daabecb95e17a0757a"
  ["_GET"] => array(4) {
    ["url"] => string(70) "internal_data/attachments/7/7213-b4d9f0abac1add65a6143d90cd2e972a.data"
    ["size"] => string(3) "147"
    ["mode"] => string(3) "130"
    ["hash"] => string(32) "8bf7c9b48f7845daabecb95e17a0757a"
  }
  ["_POST"] => array(0) {
  }
}
 
Please check if you have the file at
internal_data/attachments/7/7213-b4d9f0abac1add65a6143d90cd2e972a.data
My guess is the URL is cached somewhere (by a search engine bot maybe) but the actually attachment has been deleted, therefore when the bot tries to download the image, it couldn't find the file and caused the error.
 
Top Bottom