How do I use uploaded images?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Hoskissonite
Posts: 7
Joined: Thu 7. Feb 2008, 16:55

How do I use uploaded images?

Post by Hoskissonite »

So, I've uploaded a couple of images, both via FTP and through the internal upload functions in the backend.

How can I find out what URL they are in now, in case I want to use them (for example, in articles, or in the site logo in the header)?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: How do I use uploaded images?

Post by flip-flop »

There we have the article head and some ContentParts (CPs) for using images.

Article head: -> open image browser (image: article detail) and (image: article list)
CP: text w/image, images <div>, images <spezial>, images, rollover images -> open image browser (image:)

For using images in your template, the best way is an upload of this images e.g. to the folder /picture/template/*
Bind this images into the template e.g. via <img src="picture/template/g_home.gif" width="21" height="21" border="0" vspace="0" hspace="0" alt="Home" title="Home" />
Or please use an css background image in your css file (/template/inc_css/*) e.g.: background: url(../../picture/template/bg_logo.jpg) top left no-repeat;
... And so on.

Don´t use the image option of the fck editor. (picture/upload/image/) There you haven´t the features like thumbs, lightbox, cropping, zooming, .....

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hoskissonite
Posts: 7
Joined: Thu 7. Feb 2008, 16:55

Re: How do I use uploaded images?

Post by Hoskissonite »

Knut; thanks for your exhaustive answer. I'll look into it. Props to you!
Post Reply