Picture Module Documentation

The Picture module allows you to manage images in Drupal sites that are using Responsive Design. The module provides an interface to map existing image styles to breakpoints. The Picture module is a backport of the Drupal 8 solution for responsive images, and promises to provide a smooth upgrade path.

Installation

Recommended to download the latest version as usual. This version doesn't use JavaScript to detect the device width, but uses a picture tag and full media queries.

Module dependencies

  1. Breakpoints
  2. Ctools

Install and enable

  1. Place all the modules in: your sites/all/modules directory; or your sites/[my site]/modules directory.
  2. Enable the modules at: admin/modules

Configuration

1. Configure your theme

After you have all the modules enabled and ready to go, start with theme configuration. You set the breakpoints for view ports in your theme’s .info file.

breakpoints[mobile] = (min-width: 0px)
breakpoints[narrow] = (min-width: 560px)
breakpoints[wide] = (min-width: 851px)
breakpoints[tv] = only screen and (min-width: 3456px)

Looking for a Drupal theme

Hello everyone,

We are currently moving our website to Drupal. We would like to build the new website off a template/theme that I buy somewhere. Unfortunately this project doesn't have enough budget for a custom made theme. I'm sorry if this topic rises false hopes. But I hope that the community will give me directions to where to find such a theme. I've seen many designers build themes, but they are not as prominent. Beautiful designs, but just not what I'm looking for. Maybe you can help me find a hidden nugget.

Nodequeue problems

Hi. Please note that I am new to Drupal so this may seem like a simple question for some of you Drupal aficionados. I have a site that has several simple nodequeues. Two are identical and should run the same set of blog postings in the same order, but it doesn't for some reason. See below.

Nodequeue 1 - Is set up in the back end as Blog 1, Blog 2, Blog 3 and it displays them in the correct order.
Nodequeue 2 - Is set up the same way but on the homepage it displays them as Blog 2, Blog 3, Blog 1 even though it should be in proper order.

Is it possible to make node comments be forum topics? Or the other way around

Hi there

I was running a quite simple Drupal 5-6 blogging web site in the past, now I am thinking about relaunching it with more community focus (on Drupal 7 or something else) and here's one feature I would really be interested in.

Is it somehow possible to make node comments BE forum comments?

So that user could comment on the site and act of posting the first comment would automagically create a topic on the forum. Then users can continue discussing on the forum or in the node comments - it will be just the different views onto some discussion.
That should help a lot with getting the discussions on the forum started: forum will not feel empty, some topics will just be not related to the nodes.

New User Question

I am new to Drupal, however I have one simple request/question I was hoping you could shed light on.

If and how is it possible to have a different sidebar for every and any page?
Thanks!

drupal_add_http_header() renders additional html

When i use drupal_add_http_header() in a module function,
and do an echo() or create some Xml with XmlWriter there is added some more extra html code.

I tried it with Drupal6 and Drupal7 were i can create a custom output without some of these extra stuff;-)

Any ideas if it is a know bug?

The extra html is the region content, rendered by drupal_region_class().

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x