Project:Slideshow-Box
Version:4.7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

Would be nice if we could choose which version to slide: thumbnail, preview, or one of the custom image sizes...

Many thanks.

Comments

#1

change "_original" by the kind of image size you want ex:thumbnail on line 368:

$file = $path.'system/files/'.($image->slideshow ? $image->slideshow : $image->_original);

#2

Are you the maintainer of this module? I know how to change the code, I meant an option to choose image size for each slideshow separately. It's a FEATURE REQUEST.

#3

phildu,

Even though EVERYBODY MAKES MISTAKES, I found it really useful that you published that snippet of code - very helpful indeed, so thank you for that.

Apologies for the capitals - I realise that it is the equivalent of shouting and is actually quite rude.

Regards

Patrick

#4

Status:active» needs review

I second this. Attached patch introduces a new configuration setting to choose the slideshow image size.

I left the box width and height settings so that the size of the slideshow box is independent from the chosen image size which is a valuable feature for themers.

Additionally, this patch fixes:

  • Proper usage of db_query_range() instead of PostGreSQL-non-compliant 'LIMIT' statement.
  • Proper usage of url().
  • Proper cleaning of image title and description using check_plain().
  • Overall coding style in slideshowbox_getTermImages()
AttachmentSize
slideshowbox.patch 3.39 KB

#5

New patch using file_create_url() to support private files.

Additionally fixes private files issue in http://drupal.org/node/102298

AttachmentSize
slideshowbox_0.patch 3.37 KB

#6

Status:needs review» closed (won't fix)
nobody click here