Download & Extend

Additional "Adaptive" view modes?

Project:Adaptive Image Styles (ais)
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:major
Assigned:Unassigned
Status:needs work

Issue Summary

Hi,

First off, I LOVE this module. It has made making responsive design (and slideshow with flex_slider) so much easier. I'm a developer but not a themer, and so I don't have time to learn the latest-and-greatest yet... so this module is a huge help. Thank you!

One thing I would love to request, would be the ability for additional "Adaptive" modes. Right now it only comes with the one called "Adaptive" but for our site, I would like to have one effect given to the slideshow-sized images, and then the images used for a regular content type (like in a Page) have a different style applied. (Even just as simple as making the dimensions / ratio be different would be a huge advantage.)

Another method of this type of change would be integration with Delta / Context, but I think the ability to add another View Mode that works with the Adaptive styles would be a major boon.

Best,

torgos

Comments

#1

I've got an idea in mind for how to have multiple "adaptive" sets. The problem has always been develping htaccess rewrite rules that were flexible enough to handle that, but I think I've figured out a solution.

Integration with Delta and Context are also a really good ideas. How would you imagine that working? Patches accepted ;)

#2

I would love to see this feature added!

#3

Yes - this would be some important functionality!

#4

Priority:normal» major

Since most sites using multiple image sizes in their layout (like torgosPizza is describing and having the same issue here) i think this feature would make this module even more usable than it is already.
Setting prio to major.

Thank you for your work.

Tobias.

#5

Priority:major» critical

spotzero - how does the htaccess config you have in mind work? I'd be happy to help with this effort by doing the programming to create administrative forms, etc., but while I've been noodling with it for a couple days, I can't figure out a better rewrite rule to handle multiples.

#6

Would also love to see this integrate with Breakpoint module...

#7

Hey all,
I'm about 60% through a multiple styleset solution.

srjosh,
I understand the troubles you've been having, the problem is that it just isn't possible with a single set of htaccess rules. It took me a while to accept this because it means to support multiple stylesets you need to have a set of htaccess rules for each styleset, and since the AIS issue queue is mostly support question relating to configuring the htaccess rules, I'm not keen on this solution.

To deal with this, I'm going to change how the access rules are delt with in the documentation. Instead of installing the htaccess rules, then configuring the adaptive style, you'll first configure the adaptive stylesets, then the module will generate the htaccess rules you'll need.

The current htaccess rules will remain compatible.

#8

What's the status on this? I'd be available to test/help if you get to that point. You can contact me directly if you like.

#9

Priority:critical» major

Downgraded status as it's not critical to have extra view modes. It would be great but to anyone looking at the module thinking of using it critical suggests that it just doesn't work - which is far far from true.

Brilliant module spotzero, bravo.

#10

This is being developed in this branch: http://drupal.org/node/1329498/git-instructions/7.x-1.x-multistyle

You can take a look at the todo.txt file for progress and to see what still needs to be developed.

Thanks.

#11

Status:active» needs work
nobody click here