This forum is for assistance with theme development.

[Image Gallery] Open image in a pop-up window

Is it possible to open an image at the original size in a new window from gallery?
I've got a gallery with large images, i wanted to open them in a pop up window. Is it possible?
Thanks, Aress

Guidelines on porting the WordPress themes to the Drupal PhpTemplate

Hi

I'd like to port one of the WordPress themes to Drupal (AdSense minded theme if it matters). I wonder if there are any kind of tutorial, guidlines or even tools for such a porting?

IE PNG alpha support

This works for me in Drupal 4.7 ( I am thinking of creating a module to handle this issue)

1. Download pngbehavior from: http://www.scss.com.au/images/pngbehavior.htc

2. upload a transparent 1x1 pixel gif called blank.gif to your theme I put mine in themes/bluemarine/images/blank.gif
Note: having non alphanumeric text in your theme dir name can cause problems

3. in pngbehavior.htc edit:
(line 7) to point to blank.gif

var blankSrc = "/site/themes/bluemarine/images/blank.gif";

and
(line 42) to use the image sizing method

      element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
                                     src + "',sizingMethod='image')";

4. Add the following to the top of your style.css

/* Handle PNGs in IE */
img, input{
   behavior: url("/site/themes/bluemarine/pngbehavior.htc");
}

That should do the trick!
I do not think this method handles stylesheet images correctly, but will handle all images placed in any of the theme.php files, php files in site content, the logo etc.

If you really need css placed images to work, let me know.
Also, you can find more information on PNG images in IE here
http://www.scss.com.au/family/andrew/webdesign/pngbehavior/
and the reference for alphaimageloader here
http://msdn.microsoft.com/workshop/author/filter/reference/filters/alpha...

table view wish

Hello all,
I have recently been trying to create a new website called publicsandbox. While trying to implement the FAQs I have run into a bit of a snag. I am using the views module to organize and list my FAQ's and I like the table view but there aren't any links when the FAQs are displayed using the table format, only with teaser and full node. Is there any way that I can force the table view to supply links.

Best regards, Derek

Theming With Category Module

I've created a dynamic theme based on this article (which works great):
http://drupal.org/node/46027

However, how do I go about theming using the category module?

I would like to be able to change layouts based on the root container and also specific categories.

Also, are there any functions available from the cateogry module that will return the root container for a node?

Add a part of an image gallery in a page

I want to insert a part of a gallery (for example the first row) in a page. Is it possible?
I need to achieve something like this:

###############

PAGE
text text text text
text text text text
text text text text
text text text text
text text text text

[Some images]

Go to link for more image

################

Thanks in advance to all.

Pages

Subscribe with RSS Subscribe to RSS - Theme development