Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#229 2008-04-09 16:28:16

alex9142
Member
Registered: 2008-03-17
Posts: 45

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Hi Masa!

Thank you for your help. I will try to install the vdhflickr :

http://code.google.com/p/vdhflickr/

Offline

#230 2008-04-09 17:58:55

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] upm_image: More powerful image display

I use the vdh_flickr plugin for the photo page, as Martin points out.

Offline

#231 2008-04-09 18:04:17

alex9142
Member
Registered: 2008-03-17
Posts: 45

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Well, unhappilly I was not sucessful… my server only has the PHP 5, not the PHP 4 anymore.
But I would like thank everybody!

Offline

#232 2008-04-09 18:27:33

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Alexandre,

don’t give up just yet! :-)

I’m sure, that if you posted a new thread in the How do I? section you will get some helpful suggestions.

Offline

#233 2008-04-09 18:33:37

alex9142
Member
Registered: 2008-03-17
Posts: 45

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Did anyone already say that you are a nice brother? thank you!

Offline

#234 2008-05-14 06:54:44

idoremus
Member
From: NW United States
Registered: 2008-04-16
Posts: 19

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Hi,

A newbie question. I discovered this plugin while searching for a way to link the image id to the CSS file. I have tried different versions of this coding:

#header { background: #eee url(<txp:upm_img_full_url image_id=“19” /> ) no-repeat left top;
}

Could someone please show me the light?

Thanks in advance,
Ian

Offline

#235 2008-05-14 07:00:00

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,028
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] upm_image: More powerful image display

If you are using the plugin the the css tab I don’t think that it would work did you try something like:

#header { background: #eee url(/images/19.jpg ) no-repeat left top;
}

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#236 2008-05-14 07:17:18

idoremus
Member
From: NW United States
Registered: 2008-04-16
Posts: 19

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Hi Colak,

Yes that was my first attempt. If that is the correct way to do it, I might have another problem.

I had found this thread and plugin from here which looked similar to what I was trying to accomplish.

Thanks again,
Ian

Offline

#237 2008-05-14 07:33:08

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

Re: [plugin] [ORPHAN] upm_image: More powerful image display

idoremus wrote:

#header { background: #eee url(<txp:upm_img_full_url image_id=“19” /> ) no-repeat left top;
}

Textpattern tags are not processed for the style sheets, so this won’t work without a few additional pull-ups. You’d better stick with the static image URL, i.e. /images/...jpg

Offline

#238 2008-05-14 11:10:06

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,305

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Wasn’t this why ako_css was written? Unfortunately, I never got it running, but this might be a “personal flaw” ;)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#239 2008-05-14 12:44:12

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,028
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] upm_image: More powerful image display

idoremus wrote:

Hi Colak,

Yes that was my first attempt. If that is the correct way to do it, I might have another problem.

I had found this thread and plugin from here which looked similar to what I was trying to accomplish.

Thanks again,
Ian

I’m not sure what you are trying to accomplish but your code should work if instead of writing the particular css in the styles tab you do it in the pages one.

you can include something like

<style type="text/css">
  #header { background: #eee url(<txp:upm_img_full_url image_id="19" /> ) no-repeat left top;
}
</style>

Having said that, unless you want the image to change (in whatever way), I cannot see why not use the /images/19.jpg. Maybe if you can explain to us what it is you are trying to achieve we will be able to make proper suggestions.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#240 2008-05-15 04:44:01

idoremus
Member
From: NW United States
Registered: 2008-04-16
Posts: 19

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Colak,

Thank you for your patience. I am building my first site. I had seen an example of a website (built without a database) that used a background image in the header. On this site they linked to the image through the CSS file. I was trying to accomplish the same task using Textpattern and attempted to see how the style sheet would link to the images folder. I tried to use “url(/images/19.jpg )“without success.

When I searched for help in the forums I ran across “upm_image” and thought maybe this would be the missing link. That is where I am at. Any suggestions would be appreciated.

Thanks again,
Ian

Offline

Board footer

Powered by FluxBB