another question

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
Soldier Volkov
Regular Poster
Posts: 136
Joined: Sun Jun 26, 2005 8:43 pm
Location: Area 51...and sometimes Arkansas

another question

Post by Soldier Volkov »

Is it possible to "href" images stored in the workspace/images or public/images folder into the code of a seperate web page? If so, how is this done?
http://ethanbakerarts.tripod.com
http://etools.ncol.com/a/jgroup/bg_wwwl ... e_247.html

Image

Let me assert my firm belief, that the only thing we have to fear is Volkov himself!

User avatar
TTE
Regular Poster
Posts: 77
Joined: Wed Mar 29, 2006 11:03 am
Location: Manitoba, Canada
Contact:

Post by TTE »

Should be able to, but I had some problem with that once before. If the image you're linking to is not on a page (so that it's not really loaded before), it tends not to work.
If you're linking to an image that may be found on another page of yours, then just go

Code: Select all

<A href="images/image.gif">Link To My Picture</A>
If it isn't on any other page, I suggest using an image hoster, such as Photo Bucket.

User avatar
Oualawouzou
Cartoon Cop (Moderator)
Cartoon Cop (Moderator)
Posts: 1548
Joined: Fri Jan 10, 2003 7:47 am
Contact:

Post by Oualawouzou »

If you mean "another page" as in "another host" (i.e. not on comicgenesis at all), then no. Huge *no*. And if you find a way around comicgenesis anti-hotlinking, you're at risk of getting yourself in trouble.

Btw, the only images folder that "really" exists is public_html/images. The one in workspace is only a mirror/shortcut kinda thing.

If you're linking the image on another page of your site, then the code TTE posted is good, except that I'd suggest adding a "/" at the beginning of the url (/images/image.gif). Else that'll cause problems on some pages (namely, your archive pages).

Post Reply