README.txt in Imagecache External 7.2
========================
ABOUT
------------------------
Imagecache External is a utility module that allows you to store external
images on your server and apply your own imagecache (D6) / Image Styles (D7).
========================
CONFIGURATION
------------------------
To get the module to work, you need to visit
admin/config/media/imagecache_external and either:
- Add some domains to the whitelist -or-
- De-activate whitelist functionality
========================
USAGE INSTRUCTIONS
------------------------
In your module or theme, you may call the following theme function to
process an image via Imagecache External:
<?php
print theme('imagecache_external', array(
'path' => 'https://drupal.org/files/druplicon.large_.png',
'style_name'=> 'thumbnail',
'alt' => 'Druplicon'
));
or, in a render array, like this:
<?php
return array(
'#theme' => 'imagecache_external',
'#path' => 'https://drupal.org/files/druplicon.large_.png',
'#style_name' => 'thumbnail',
'#alt' => 'Druplicon',
);
?>
You can also use external images without coding at all by adding an Text or
Link field to a Node Type and then use the Imagecache External Image formatter.
========================
ADDITIONAL RESOURCES
------------------------
View the Imagecache External project page for additional information
https://drupal.org/project/imagecache_external
File
README.txt
View source
- ========================
- ABOUT
- ------------------------
- Imagecache External is a utility module that allows you to store external
- images on your server and apply your own imagecache (D6) / Image Styles (D7).
-
- ========================
- CONFIGURATION
- ------------------------
- To get the module to work, you need to visit
- admin/config/media/imagecache_external and either:
-
- - Add some domains to the whitelist -or-
- - De-activate whitelist functionality
-
-
- ========================
- USAGE INSTRUCTIONS
- ------------------------
- In your module or theme, you may call the following theme function to
- process an image via Imagecache External:
-
-
- print theme('imagecache_external', array(
- 'path' => 'https://drupal.org/files/druplicon.large_.png',
- 'style_name'=> 'thumbnail',
- 'alt' => 'Druplicon'
- ));
-
- or, in a render array, like this:
-
- return array(
- '#theme' => 'imagecache_external',
- '#path' => 'https://drupal.org/files/druplicon.large_.png',
- '#style_name' => 'thumbnail',
- '#alt' => 'Druplicon',
- );
- ?>
-
- You can also use external images without coding at all by adding an Text or
- Link field to a Node Type and then use the Imagecache External Image formatter.
-
-
- ========================
- ADDITIONAL RESOURCES
- ------------------------
- View the Imagecache External project page for additional information
- https://drupal.org/project/imagecache_external