Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: FetchContent v0.6  (Read 5549 times)

0 Members and 1 Guest are viewing this topic.

Bernd1975

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
FetchContent v0.6
« on: November 08, 2011, 12:26:35 pm »

Hello everybody  8)

I discovered a so named plugin which makes 90% of my work I need.
It pulls various, random pictures out of my gallery and show them in a custom page anywhere I want to.
A really great script!!

Maybe the last 10% could be taken as a "request for upcomeing  features"  or someone could lend me hand and describe a "How To"?

What I need is:
- A Option where I can set only to have pictures with same hight or width

I'm sure somewhere in the code where the array is filled up with the results of a db query, I could place something like
Code: [Select]
Pseudo-Code:
if height > width
Or maybe the db query could be altered to pull out only pictures where height < length or something like that.
Why I do need this:
- My random pic has a fixed place in my website. No place to have pictures with a big hight.
Maybe someone else useing this for his website will need such a solution too because he only wants to show pictures with the same heigth.

If I'm on the wrong section of this bord, ofend someone in a way I do not know or something else I appoligze a thousand time.
Logged

Bernd1975

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: FetchContent v0.6
« Reply #1 on: November 08, 2011, 02:52:45 pm »

 :-[ Can't bring it on to run properly.
I tried to alter the db query with a simple add
Code: [Select]
AND pwidth > pheightBut no effect. Anyone out there who can help me out to make it quick and dirty?

I tried to alter the db query in image.php and configuration.php with no success  :-\
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: FetchContent v0.6
« Reply #2 on: November 15, 2011, 12:19:14 pm »

Quick & dirty: adjust the thumbnail options in the Coppermine config and update all thumbnails with the admin tools. This will of course affect the thumbnails in your gallery, too.
Logged

nellygrl

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: FetchContent v0.6
« Reply #3 on: January 07, 2012, 05:13:37 am »

Where can I find this plugin? I'm looking for an alternative to CPMFetch since it doesn't seem to be compatable with 1.5.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.