in a block?
For example I'd like to have a picture in user3 block just like there's one on the demo page of newsflash theme (if you look on the right - it's a picture with three overlapping styles) - http://demo.roopletheme.com/. How do I add a picture file to the block?
Do I have to use views module?

by the way - newsflash is an awesome theme! great job
thanks very much

CommentFileSizeAuthor
#5 abstract-119v.jpg184.83 KBmanmeetsingh

Comments

roopletheme’s picture

Assigned: Unassigned » roopletheme

On the demo sites I use simple HTML in my block code to display images. For example, the block that you mention looks like this:

<a href="#" title="Select from 3 Styles!"><img src="/images/NewsFlashStyles.png" id="newsflashstyles" /></a>
<div class="wrap">NewsFlash comes with three great looking built-in color styles. And switching between color styles is easy thanks to the theme configuration form. Just select a color from the drop-down menu, click Save, and the new color is instantly activated. You can even have a separate site logo for each color style!</div>

You'll need to change the input format to full HTML.

omnyx’s picture

So the text and the image are all in one block - block user2 I would presume?
However, I could still separate them by adding user3 block - and putting the text in user2 block and the image in user3. Then I would get almost the same layout you got, right?
btw do you just use photoshop to stack them up?

last question - what determines the height of user1,2,3 regions? If I'm correct, the width of the page is evenly split. What about the height?

thanks a bunch for prompt answers!

roopletheme’s picture

Yep, you could split the image and text into different regions side-by-side, mix them in the same block, etc. We have them in the same block in this example.

I use Adobe Fireworks for most of my graphics work. I use PhotoShop when a client requires it, but I prefer Fireworks for this type of work. My standard rule is: if I'm going to print it, use Photoshop. Otherwise, use Fireworks.

The height of almost any Drupal region is determined by the content itself. Publish a block with one paragraph of text and that block will be 'tall' enough to contain the paragraph. Add more text and the height will grow to accomodate the content.

roopletheme’s picture

Status: Active » Closed (fixed)
manmeetsingh’s picture

StatusFileSize
new184.83 KB