MyBB Community Forums

Full Version: Images without file system?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How would I put together images for a theme without a database?
You don't need a database for images, they go in the file system...
I mean the file system. Sorry.
You can't, just host the images externally (ie. use a free image host).
You'd need to upload them to imageshack or something and change the URLs of the images to hotlink to them. It'll slow down your forum though.
What I mean is, there are images such as forum markers than are on and off, and I don't know how to do that without a file system. How can you set the on off like the markers when there is a new reply and when there isn't?

Other than that, what about small markers for threads?
Yes, with base64 encoded files: http://www.greywyvern.com/code/php/binary2base64

Example:
[attachment=17248]

EDIT:

You can include this data URI scheme in CSS files too!
(2010-02-05, 11:04 AM)querschlaeger Wrote: [ -> ]You can include this data URI scheme in CSS files too!

Quote:Internet Explorer through version 7 (approximately ½ of the market as of September 2009), lacks support.
http://en.wikipedia.org/wiki/Data_Uri#Disadvantages
They can't use a PHP file, they don't have FTP access, hence asking to do this without FTP access.
Pages: 1 2