Page 1 of 11
uCoz Community » uCoz Modules » Additional Features » $IMAGE1$, $IMAGE2$ etc...
$IMAGE1$, $IMAGE2$ etc...
bodbreed
Posts: 311
Reputation: 1

Message # 1 | 0:26 AM
Is there a way to have the images uploaded with a file in file catalog automatically appear in full entry text, without having to copy and paste it.
PixelKhaos
Posts: 636
Reputation: 26

Message # 2 | 3:27 PM
Place the following code where you want to display it.
Code
<?if($IMAGE1$)?><img src="$IMG_URL1$"><?endif?>

Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
bodbreed
Posts: 311
Reputation: 1

Message # 3 | 0:57 AM
Acid, much appreciated.

Added (2012-12-01, 6:57 PM)
---------------------------------------------
Quote (Acid)
<?if($IMAGE1$)?><img src="$IMG_URL1$"><?endif?>


Does this abide by my auto image resize rule?
Post edited by XO-Ferg - Sunday, 2012-12-02, 1:03 AM
Paradox
Posts: 3276
Reputation: 145

Message # 4 | 1:10 AM
XO-Ferg, what exactly are you meaning by an auto-image resize rule? If you're meaning a CSS rule that sets a maximum/minimum image size then yes if it's set relative to the tag - atm however if it is set by class then not until you set the appropriate class to the image. wink
Developer, Designer, Communicator.
Been here for 6 years and counting.
Visit me at alexmoloney.me.
bodbreed
Posts: 311
Reputation: 1

Message # 5 | 4:21 PM
Paradox, there's an option in file catalog to set all uploaded images to a certain size.
Paradox
Posts: 3276
Reputation: 145

Message # 6 | 1:30 AM
XO-Ferg, then indeed they will be. smile
Developer, Designer, Communicator.
Been here for 6 years and counting.
Visit me at alexmoloney.me.
bodbreed
Posts: 311
Reputation: 1

Message # 7 | 0:21 AM
Ok thanks.

Added (2012-12-03, 6:21 PM)
---------------------------------------------
How can I get this

Quote (Acid)
<?if($IMAGE1$)?><img src="$IMG_URL1$"><?endif?>

to show up in the short description of the entries on the File Catalog's main page?
PixelKhaos
Posts: 636
Reputation: 26

Message # 8 | 0:34 AM
XO-Ferg, add the code to "appearance of entries".
Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
Post edited by Acid - Tuesday, 2012-12-04, 0:35 AM
bodbreed
Posts: 311
Reputation: 1

Message # 9 | 0:57 AM
Thank You.

Added (2012-12-03, 6:57 PM)
---------------------------------------------
This code

Quote (Acid)
<?if($IMAGE1$)?><img src="$IMG_URL1$"><?endif?>

ignores my auto resize setting. I need it to be resized to 150x150, thanks for the great support.
Quote (Paradox)
XO-Ferg, then indeed they will be. smile
PixelKhaos
Posts: 636
Reputation: 26

Message # 10 | 1:11 AM
XO-Ferg, that is because $IMG_URL$ is the full image url, so you must either change the size for the full sized image when uploaded, or add the following to the code. (Reccomended)

Code
<?if($IMAGE1$)?><img src="$IMG_URL1$" width="150px" height="150px"><?endif?>

Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
bodbreed
Posts: 311
Reputation: 1

Message # 11 | 1:25 AM
Acid, I'm so grateful for your services, and all others who have helped me!
uCoz Community » uCoz Modules » Additional Features » $IMAGE1$, $IMAGE2$ etc...
Page 1 of 11
Search: