Quoted by Ryan on October 9 2008:
Rails tip: Use subdirectories to namespace images by resource. Eg. images/people/add.gif vs. images/add_person.gif.
Jobs: |
See more on our Job Board. |
Quoted by Ryan on October 9 2008:
Rails tip: Use subdirectories to namespace images by resource. Eg. images/people/add.gif vs. images/add_person.gif.
Got a web design project in mind? Find a web designer on Sortfolio. Browse by visual style, portfolio, budget, and geographic location.
Over 1 million people use 37signals' simple web-based software to collaborate on projects, track contacts, and organize their business with an intranet.
2 comments so far
Fabian Neumann 13 Oct 08
What’s the advantage over images/people_add.gif?
Adam McIntyre 16 Oct 08
The advantage lies primarily in being able to quickly find images by category. If you have a directory named images/buttons, you’ll know where to find all your buttons. So will another developer or designer who’s new to the project.
I’ve used this convention on a lot of big sites with many, many image assets, and it works, plain and simple.
Comments are closed