Newest 10-19 Release - Images<div>

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Newest 10-19 Release - Images<div>

Post by jsw_nz »

For those interested in the newest rep tags mentioned by OliG for image<div>
- of 10-19 release: here is the code from the file he mentioned to look at:

Code: Select all

<!--IMAGES_ENTRY_START//-->
	<div class="imageEntry" id="img{IMGID}">
		{IMAGE}
		[CAPTION]<p>{CAPTION}</p>[/CAPTION][CAPTION_ELSE]<p>{IMGNAME}</p>[/CAPTION_ELSE]
	</div>
	<!-- 

		Thumbnail image: {THUMB_NAME}
		----------------------------------------------
		relative: {THUMB_REL}
		absolute: {THUMB_ABS}
		height/width: {THUMB_HEIGHT}px/{THUMB_WIDTH}px
		
		If you are not sure wrap zoomed image:
		[ZOOM]
		Zoomed (big) image: {IMAGE_NAME}
		----------------------------------------------
		relative: {IMAGE_REL}
		absolute: {IMAGE_ABS}
		height/width: {IMAGE_HEIGHT}px/{IMAGE_WIDTH}px
		[/ZOOM]		

	//-->
<!--IMAGES_ENTRY_END//-->
I think think this allows one to target thumbnails and full image (zoom) paths and associated heights/widths:
- so these can be used by other stuff like Javascript and Flash

Looks very interesting - :)
Post Reply