Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#271 2008-11-20 16:43:41

roelof
Member
Registered: 2005-03-27
Posts: 647

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

Hello,

I have a question.
Is there a way i can sort the images on the day they were made ?

Roelof

Offline

#272 2008-11-21 10:04:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

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

You can sort by the date they were uploaded, since that’s the only date that’s stored in the database.

Offline

#273 2009-01-04 04:43:12

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

Is the tag <txp:upm_img_full_url /> only usable in a form?

I am trying to output a text link to an articles image to use shadowbox or lightbox. For some reason I am not getting any url output.

<ul class=“gallery_nav”>
<li><a href=”<txp:upm_img_full_url />” rel=“shadowbox”>Image Link</a></li>
<li><a href=“http://blah.com”>Back</a></li>
</ul>

I guess I confused about what context to use it in. However, I am successfully using it to create thumbnails in combo with php imageresizer. Here is what I have for that:

i_img_125_sq

<img src=”/image.php?width=125&amp;cropratio=1:1&amp;image=<txp:upm_img_full_url />” alt=”<txp:upm_img_alt />” />

f_thumbs_big

<dd>
<a href=”<txp:permlink />” title=”<txp:title />”><txp:upm_article_image form=“i_img_125_sq” /></a>
</dd>


Art Rogue – Fine Art Photography

Offline

#274 2009-01-04 21:02:33

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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

Hi Matt,

can you try this?

<li><a href="<txp:upm_article_image><txp:upm_img_full_url /></txp:upm_article_image>" rel="shadowbox">Image Link</a></li>

La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#275 2009-01-04 21:55:46

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

Yes, that worked. Thank you very much maniqui. I’m assuming that by using txp:upm_article_image as a wrap tag solved the problem. Is that correct? I wonder why it is working in the example I posted earlier in this thread?


Art Rogue – Fine Art Photography

Offline

#276 2009-01-06 14:58:14

mrjysta
Member
Registered: 2008-09-22
Posts: 89

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

Hi all,

Can anyone give me any advice on the tags required for populating the initial home page x with the articles 1st image linking to it’s specific individual article “x. Following the html structure in the examples/.

<div class=“pfilebox”><a href=”#”><img class=“pfilepic” src=“images/p_picx.jpg” alt=“profile pic”/><strong>Article 1</strong></a></div>
<div class=“pfilebox”><a href=”#”><img class=“pfilepic” src=“images/p_picx.jpg” alt=“profile pic”/><strong>Article 1</strong></a></div>
<div class=“pfilebox”><a href=”#”><img class=“pfilepic” src=“images/p_picx.jpg” alt=“profile pic”/><strong>Article 2</strong></a></div>
<div class=“pfilebox”><a href=”#”><img class=“pfilepic” src=“images/p_picx.jpg” alt=“profile pic”/><strong>Article 3</strong></a></div>
<div class=“pfilebox”><a href=”#”><img class=“pfilepic” src=“images/p_picx.jpg” alt=“profile pic”/><strong>Article 4</strong></a></div>
<div class=“pfilebox”><a href=”#”><img class=“pfilepic” src=“images/p_picx.jpg” alt=“profile pic”/><strong>Article 5</strong></a></div>

Or do I need to re-structure the html a bit?

Just finished building my static forms but bit stuck on the form for the population of the images in the main page with upm_image

Thanks

Last edited by mrjysta (2009-11-26 16:08:16)

Offline

#277 2009-01-06 15:02:46

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

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

mrjysta wrote:

Hi all,
Can anyone give me any advice on the tags required for populating the initial home page http://www.jystdesign.co.uk/clients/bass/front-end/blubar.html with the articles 1st image linking to it’s specific individual article

you can do that using article_image

http://www.jystdesign.co.uk/clients/bass/front-end/blubar_profile.html. Following the html structure in the examples/.

and smd_gallery

Last edited by colak (2009-01-06 15:05:23)


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

Offline

#278 2009-01-06 18:30:10

mrjysta
Member
Registered: 2008-09-22
Posts: 89

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

Ok think I got it, so for my homepage form I would just:

<div class=“pfilebox”><txp:permlink><txp:article_image thumbnail=“1” class=“pfilepic” /></txp:permlink></div>

P.S sorry if this is now in the wrong thread.

Offline

#279 2009-01-30 00:27:28

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

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

Sorry if this has been answered previously (couldn’t find anything with forum search…) but I just installed upm_image with Smart Image Resizer and I’m getting the message “Javascript file could not be find!” (sic) when the page loads, although everything looks right.
Any idea what could be the problem?
Thanks.

ok, just found this with firebug:
<script src="http://www.mysite.com/beta/index.php?js=upm_image" type="text/javascript"> 1alert('Javascript File could not be find!') </script>

If anyone can help I’d be much obliged – really a newbie with anything Javascript :-/
Thanks.

haHA! I just turned javascript insertion OFF for upm_image and now all is well :-D
Thanks to jakob

Last edited by ploinkr (2009-01-30 20:32:54)

Offline

#280 2009-01-30 18:47:19

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

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

I have run into a conflict with upm_image and a script called MenuMatic that uses Mootools.

Sorry…. I just figured out the problem! The call to MenuMatic needed to wrapped in a domready event

Last edited by photonomad (2009-01-30 19:04:25)

Offline

#281 2009-02-08 13:39:02

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

There are currently “escape” attributes for the <txp:upm_img_alt /> and <txp:upm_img_caption /> tags when using a form but most of the time I don’t require a form as I am using the plug-in as an output for use with something like Galleria. Is there any chance of having similar attributes for the main <txp:upm_image /> tag?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#282 2009-02-08 22:00:03

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

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

The automatic output should already be escaped, but I’m looking at the plugin and it looks like it isn’t done consistently. *slaps wrist*

Now are you asking for the output to (optionally) not be escaped?

Offline

#283 2009-02-09 16:39:50

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Well the problem is that I’m working on a site with art images where the caption includes the title of the piece plus information on the materials used and they would like the title on it’s own line, requiring the addition of a <br /> tag, however at the moment instead of getting a line break it simply displays the tag. I think it would be better if it were optional in the form of an attribute.

Also profuse apologies but the tag I use is actually the <txp:upm_article_image /> tag though I’m thinking anything that can output the image caption should have this option.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#284 2009-02-10 02:42:59

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

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

Hmm, well that’s really the purpose of the form feature. The automatic output is for those that don’t really want to change stuff. Keep in mind that you don’t have to use an actual form, you can use it as a container tag too.

Offline

#285 2009-02-10 15:59:33

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

OK. I’ll look at it but I’m really not sure I can use a form with Galleria. I’ll let you know.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB