Where did all the images go?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
lasse
Posts: 5
Joined: Wed 10. Mar 2004, 02:21

Where did all the images go?

Post by lasse »

Hello,
I'm trying to learn this interesting piece of software but I'm lost and
can't find any helpful documentation,

please help me with the following issues:

* When I upload a file (trough the phpwcms-backend),
where does it go, and what's more important, how do i point to
it in a layout or template? In the file-manager every file gets a
decent name, but at the file structure on the webserver all I
see is encoded names, (pointers from db-table??)
Can't find out how to get a ./images/mybanner.gif" or similar to work...

* In the admin-meny, what's the file-category function good for?

* If I make a custom css, can I access it through the www-admin?

Thats all so far, thanx!

//


:shock:
Pappnase

Re: Where did all the images go?

Post by Pappnase »

lasse wrote:Hello,
I'm trying to learn this interesting piece of software but I'm lost and
can't find any helpful documentation,

please help me with the following issues:

* When I upload a file (trough the phpwcms-backend),
where does it go, and what's more important, how do i point to
it in a layout or template? In the file-manager every file gets a
decent name, but at the file structure on the webserver all I
see is encoded names, (pointers from db-table??)
Can't find out how to get a ./images/mybanner.gif" or similar to work...

* In the admin-meny, what's the file-category function good for?

* If I make a custom css, can I access it through the www-admin?

Thats all so far, thanx!

//


:shock:
Sorry, but i can't belive it. this text should not be arrogant or something else. but for all questions you had an anser in the forum and on the phpwcms page. i don't can understand this!

short documentation e.g. templates, filemanager
http://www.phpwcms.de/index.php?id=3,0,0,1,0,0

and there is already an css wich you can modify in the backend.
lasse
Posts: 5
Joined: Wed 10. Mar 2004, 02:21

Post by lasse »

:oops:
Sorry if You found my message arrogant,
not my intention in any way!

Of course I find documentation in this forum and some at the
homepage of phpwcms, but either I'm stupid or there is something
wrong with my installation, or I'm just lost...

Since I don't speak German the flash file is a bit hard to understand..

My most important question is still:

* What's the correct way to upload files to be shown from layouts?
In the filemanager they are visible under /webadmin/images
but when i ssh the server with "find . | grep webadmin/images"
no such path is found, so where does it go, and what's the best
way of naming images and then pointing to them.

Please let me know if this message also is arrogant in any way.

Best wishes,
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi lasse,

all uploaded files (images, flashfiles) goes to the folder you have defined or in the main folder for images.

after uploading the images they will be stored in the folder "phpwcms_filestorage/1/ = if you are the admin, so the other folders or for other users, which have access to your admin surface.

The problem is for now, that the system change your name of files.

so go to the folder "phpwcms_filestorage/1/ and sort with "date", so you can find the image back.

I try to copy all the files to my harddisc and open them in a viewer, so i have a short look to the image and it's new filename.

hope this helps you going on...

regards
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
lasse
Posts: 5
Joined: Wed 10. Mar 2004, 02:21

Post by lasse »

:roll:
For images regarding the site layout, maby it's clever to
ftp up a whole directory to a dir outside _filestorage,
so in the layout-design one know what is what?

In the html-source of phpwcms.de or ionrock.umemusic.com
I've noticed paths like 'http://ionrock.umemusic.com/picture/banner.jpg' or
'http://www.phpwcms.de/picture/cine.jpg'.

Is that the solution then to ftp up this 'layout-images'-directory
with ftp (and of course no ftp-takeover), or are these ../picture/..
paths compiled and created at runtime of the layout?

Best wishes,
Lasse
Pappnase

Post by Pappnase »

lasse wrote::oops:
Sorry if You found my message arrogant,
not my intention in any way!
Oh my god! sorry no i don't mean your text was arrogant!
i mean that my anser could sound arrogant!

sorry from my side! that was not that what i want!! :oops:
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

hiho lasse

you can upload your images for layout via ftp in any directory, but you can use for example the picture directory or you create your own in /img/

you can access these uploaded images in the template with the {IMAGE} Replacement-Tag or just with a normal <img ...> HTML Tag

for example, you uploaded your layout images into /picture within your phpwcms directory, you would access these image files for the template in that way:
{IMAGE:mybanner.gif}

the {IMAGE} Replacement-Tag is looking for images in the /picture folder.
if you uploaded your images into, for example, /img/layout/, you can easily modify this by changing the replacement tag to:
{IMAGE:../img/layout/mybanner.gif}

HTH
Post Reply