By nahids29 on
Hello all im using drupal 5.2 and i wanna create a theme of my own and yeah i wanna know what are the images in image directory in theme folder.. please tell me .. those images are really small and i do not know how they become big in browser..
Comments
Which theme? Not all themes
Which theme? Not all themes have an images subdirectory. A theme may have some, which it uses in any way it wants. If the images are small, they are probably intended to remain small (for icons etc or for repeating tiles).
Let me explain it to you.
Let me explain it to you. Say you wanted a page with green background with small stars on it. You could create a image that is 1024px by 768px that has green background with starts on it. But the image would be 500kbs and a waste of bandwidth. So what many designers do is create only a small green image with stars on it. Something like 50px by 50px and a designer would use css to repeat the image. When a image is repeated it is only downloaded once from the server.
Here is the code:
body
{
background-image: url(stars.gif);
background-repeat: repeat-x
}
Hopefully that makes sense.
Thanks alot
That was a lovely piece of advice.. thank you so much.. explained really cool.. now its crystal clear
=-=
If you are seriously using Drupal 5.2 you should update your site ASAP. you are 5 security releases behind.
While updating your site may seem too risky/difficult/much work getting your site back from publicly known exploits will be much more difficult. Don't lose your time and effort being lazy about keeping your site up to date.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )