Hello,

I activated the module and created the first block to test its functionality. In the image settings, I set "0" for width and height in order to get the original size. But all images are shown with 55x55 pixels instead of e.g. 600x450 pixels.
What else do I need to change?

And is there a way to specify max width or max height in order to show different image formats / ratios in the same slideshow?

Test installation available on: http://skiclub.heikekuebler.com/node/14

Thanks,
lutin

Comments

ppblaauw’s picture

Component: User interface » Code
Category: support » bug
Status: Active » Needs review
StatusFileSize
new779 bytes

In the template file: ddblock-cycle-block-content.tpl.php, every image was given a width and height of 55px if you don't use Imagecache.

The following patch should solve the issue.

If you have the upright10-50 themes installed also download these from ddblock.myalbums.biz and install them again.
If you made changes to the upright10-50 themes you can also only change the file:
ddblock-cycle-block-content.tpl.php

Please let me know if this solves your issue.

lutin’s picture

Yes, this helped. Thanks a lot!

ppblaauw’s picture

Status: Needs review » Closed (fixed)

Closing the issue. Patch will be applied in next version of the dynamic display block module.

wwwoliondorcom’s picture

Hello,

Is this patched already applied in rc6 ?

Because I never managed to apply any drupal patch, so I just accept my accept retarded and try to find others solutions :-)

Thanks.

ppblaauw’s picture

@wwwoliondorcom

No it is not applied in RC6

Have a look at the patch file.
It is only one line with needs to be adjusted. (getting width and height)

Hope this helps you further, please let me know.

massyboy’s picture

Why patching?
It's just about deleting the...
" width="55px" height="55px" " text on line 75 of the tpl.php file of hte ddblock module...
Patching this, is like "using a buildozer to dig a pit of 1m deep en 1m diameter"...

Anyway, the result is the same, i'm happy that these awfull 55x55px presets are gone :-)
(small tip for those who stumble on this for the first time: install and use firebug for firefox... It has helped me see)