Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hachreak/uc_option_image
new branch for uc_option_image
https://github.com/hachreak/uc_option_image
Last synced: about 7 hours ago
JSON representation
new branch for uc_option_image
- Host: GitHub
- URL: https://github.com/hachreak/uc_option_image
- Owner: hachreak
- License: gpl-2.0
- Created: 2012-07-19T18:54:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-20T10:49:38.000Z (over 12 years ago)
- Last Synced: 2023-03-11T12:47:58.364Z (over 1 year ago)
- Language: PHP
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
Ubercart Option Images
Provided by www.vision-media.ca
Developed by Tj Holowaychuk
-------------------------------------------------------------------------------
INSTALLATION
-------------------------------------------------------------------------------
Install the imagecache module located at http://drupal.org/project/imagecache
then enable this module (supports both 1.6 and 2.x). Settings become available
on the attribute settings page which is located at admin/store/settings/attributes
To display an image when no option image is available, the module will call theme_uc_option_image_no_image()
This defaults to grabbing and image called 'noimage.png' in your themes 'images' folder. By
default this theme with implement the imagecache preset size chosen in order to
adjust the noimage image similar to that of the option images.
Example: sites/all/themes/mytheme/images/noimage.png
-------------------------------------------------------------------------------
MARKUP REQUIREMENTS
-------------------------------------------------------------------------------
Due to the nature of JavaScript dependency upon markup, this module supports
default node.tpl.php and form item markup in order to switch images properly.
-------------------------------------------------------------------------------
PERMISSIONS
-------------------------------------------------------------------------------
view option images
administer option images
-------------------------------------------------------------------------------
KNOWN ISSUES
-------------------------------------------------------------------------------
When multiple nodes are displayed on the same page they will not switch
properly due to "call_user_func_array('array_merge_recursive', $data)" in
drupal_add_js();
This issue is being investegated, but for now this feature has been disabled.