Images in blocks

Permalink
I am quite new to C5. So far it's great to work with. I'm building a new block to display a list of car's that are for sale.

Now in the view.php i need to place some images, but I'm not sure where to put the image. Can I make an images dir right inside the "blocks/block-name" dir?

If that would be the way, can I get the path to that dir dynamically? Right now the site is hosted in a subdirectory for developement, and I don't want to have to change all the image paths once the site goes live.

 
frz replied on at Permalink Reply
frz
sounds like you might want to make a page type of "car" and then use existing blocks to flush it out... read this thread:
http://www.concrete5.org/index.php?cID=14415...
jkrielaars replied on at Permalink Reply
I don't think I want to make a page with loads of subpages as described in the thread you reccommended.

The thing is that I've got a table in the database that will be filled end eddited by an external party. This table will contain a list of cars that I want to display as a list.

This list must be able to be sorted by price, year, make, model etc. That's where the subpages wouldn's do for me.