This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo getResized($item->fields->images, 1, $x); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo getResized($item->fields->images, 1, 200); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo getResized($item->fields->images, 1, 0, 200); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach($item->fields->images->file_name as $key => $name) { | |
echo getResized($item->fields->images, $key, 0, 200).'<br>'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for($i=0; $i<count($item->fields->images->file_name); $i++) { | |
echo getResized($item->fields->images, $i, 0, 200).'<br>'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$category = 9; | |
$slug = get_page_slug(false); | |
$crc32 = computeUnsignedCRC32($slug); | |
imanager()->getItemMapper()->limitedInit($category, $crc32); | |
$item = imanager()->getItemMapper()->getItem($crc32); | |
if(!empty($item->fields->brand->value)) { | |
global $content; | |
$content = imanager()->getTemplateEngine()->render($content, array('brand' => $item->fields->brand->value)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$data = exif_read_data('my_image.jpg', 0 , true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Refer to the 'eGallery' section of your uploads folder structure. | |
* Make sure you use an absolute path or 'GSDATAPATH' constant with | |
* an absolute path to the 'data' directory | |
*/ | |
'uploadpath' => GSDATAPATH.'uploads/egallery/', | |
// Relative path to sub directory that contains your images | |
'pathpart' => 'data/uploads/egallery/', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/root/data/uploads/egallery/thumbs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id_beliebiger_bildame.jpg |