Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Image attachments as backgrund

Aloittaja ziemek8, helmikuu 14, 2009, 02:14:43 IP

« edellinen - seuraava »

ziemek8

Hello,

I want to use image attachments as background on my site. Everything was going well, but when I want to use thumbs most of those images set as background aren't visible.
The most interesting is that in Google Chrome everything is ok, but in Firefox or Opera only some of thumbs are visible.
I wrote this on my css file:

background-image: url('/forum/?action=dlattach;topic=5454;attach=454;image');


What is the problem? What can be done?

karlbenson

Using attachedimages like that would NOT be recommended.
It will add lots of extra queries/load to every page request.

SMF attachments system simply isn't intended (neither would I recommend) using it that way.

Also don't forget some of the images might not have thumbs depending on their size and filetype.

Rumbaar

If you have that kind of access, why not just point to the server stored location?  As per the issues raised by regularexpression.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: