Firefox PHP

Module: Embed Images

Posted by Maurice Makaay 
Re: Module: Embed Images
October 24, 2008 06:50AM
That first one looks like it's the basic [img] tag in the bbcode module in action. That second one looks like the embed images output.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Embed Images
October 24, 2008 06:55AM
OK, it looks like embed_module is not active on your site, Is it true?
Re: Module: Embed Images
October 24, 2008 12:06PM
Quote
Maurice Makaay
So the problem is not that the images aren't rendered correctly. You are talking about the HTML rendering here. Since your max image size is quite large, you could opt for changing the module's css. In mods/embed_images/templates/emerald/css.tpl you can find some "float: left" styling. If you remove those floats, you might get what you want.

Additionally, you might check this message from this thread in which the same kind of issue is discussed. For the big allowed size this might be less useful though.

So I tried removing the "float: left" styles and still ended up with the same results.

Trying the modification done by Oliver Riesen in the link from your post results in an error (don't have the text, sorry) and the forum not displaying at all. Naturally, I undid that change. It might be that I am not 100% sure where to edit the thumbnail.tpl file with Oliver's changes.

Wallet Friendly Watch Forum
www.wf-wf.com
Re: Module: Embed Images
October 25, 2008 04:19AM
It is enabled, but it is not set to handle
Re: Module: Embed Images
October 25, 2008 04:24AM
Sorry, what means "not set to handle"? I have not seen it in the settings.
Re: Module: Embed Images
October 25, 2008 05:33AM
Sorry, that must have been my crappy connection. I'm on some half-baken wireless connection here (visiting the Cork jazz festival and I'm in a bread & breakfast, tapping into the neighbours wireless I guess). The full story was that the module is enabled, but that it's only enabled to handle attachments to be shown inline. The other options (e.g. for handling [img]) were disabled.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Embed Images
October 25, 2008 05:36AM
Thanks.
Re: Module: Embed Images
November 20, 2008 04:54AM
Hi

Did someone have problem with loading image? I use upload attachement with embed Image. When I hit preview button, image is loading and loading but never get loaded. When I hit preview again it loads. The same problem with posting. I hit post, its loading and loading, I refresh page - then it shows. Is it something with cache?



Edited 1 time(s). Last edit at 11/20/2008 08:17AM by tomeki.
Re: Module: Embed Images
November 20, 2008 09:19AM
Could be, but I don't know what would cause it. I haven't seen this behavior myself, so it's hard to come up with a reason for this. Any javascript errors or so that are reported by the browser?


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Embed Images
November 20, 2008 03:25PM
tomeki,

I see this behavior consistently as well. When you upload a picture, the first time you try to look at it, the picture never loads to the browser.

The second time you look at it, it's there - and will always be there afterwards.

This never bothered me much, since I always look at the new posts (and therefore generate the cached picture)

w/out diagnosing it, here's my take on what's happening. The caching-on-disk feature for embedding/uploading pictures is probably responsible for this. Somewhere in the code, it's getting the request for the pic, making the cached thumbnail, but never returning the result. When the second request comes in, the cached thumbnail is already made, so the cache logic returns it correctly.

I'm guessing tomeki stores his images in the DB, and I'm storing my images on disk, so I'm sure it's not the storage, but rather the caching.

Can anyone else reproduce this?

For me, this is a minor inconvenience at best, though. If it was not easily fixed, a nice workaround would be to force preview on a post before posting. That would create the cache thumbnail before the other users ever saw the post.

------------------------
Sean Phelan
Sites By Sequoia - Web Marketing ... The Experts at Building Your Success Online
Sorry, only registered users may post in this forum.

Click here to login