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 ... 5 6 7 8 [9] 10 11 12 13 ... 54   Go Down

Author Topic: CpmFetch 1.4 On... Displaying data and images from CPG on your website  (Read 965854 times)

0 Members and 2 Guests are viewing this topic.

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #160 on: August 13, 2005, 04:13:16 pm »

It would be nice to have a thread where sites using CpmFetch could show their ideas.
Not having much artistic flair myself  I would like to evaluate the talent of others
and maybe appropriate some for myself.  ::)

Frank


Hey Frank,

In one of the mailings I put out a request for submissions for this very concept.  The one response I got back was overwhelming.  If a few people think this is something they would participate in, then I will create one.  If not, then I'd hate to clutter the forum.

Good idea though...

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

raeba

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #161 on: August 13, 2005, 11:38:49 pm »

The available placeholders are here and the settings you need

http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06s03.html

I think you are looking for the ALTTAG setting, since thats what most browsers key in on

Ok, thanks, but where do I use this information. What file do I edit?  Where is the string that I change?

Thanks.

Raeba
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #162 on: August 14, 2005, 01:05:37 am »

The available placeholders are here and the settings you need

http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06s03.html

I think you are looking for the ALTTAG setting, since thats what most browsers key in on

Ok, thanks, but where do I use this information. What file do I edit?  Where is the string that I change?

Thanks.

Raeba


I took the time to write it once... I am not going to retype it  :P

http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06.html

There is a link on the bottom for "home" that brings you to the start of the documentation.

Also, on the web site in the docs section there is a link to examples.
http://cpmfetch.fistfullofcode.com

I suggest a quick once over the docs, will probably answer many of your questions



Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

raeba

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #163 on: August 14, 2005, 03:34:31 am »

The available placeholders are here and the settings you need

http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06s03.html

I think you are looking for the ALTTAG setting, since thats what most browsers key in on

Ok, thanks, but where do I use this information. What file do I edit?  Where is the string that I change?

Thanks.

Raeba


I took the time to write it once... I am not going to retype it  :P

http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06.html

There is a link on the bottom for "home" that brings you to the start of the documentation.

Also, on the web site in the docs section there is a link to examples.
http://cpmfetch.fistfullofcode.com

I suggest a quick once over the docs, will probably answer many of your questions





Why bother writing anything then?  Or, what good is the forum if I am just told to go read the docs?  It take less bandwidth and time to just say 'crack open this particular file' and 'edit this or that.'

Anyway, don't bother replying...  It's a waste of time and resources.

UPDATE:  I asked someone else, and she told me point blank and I did it in 30 seconds.

« Last Edit: August 14, 2005, 03:46:14 am by raeba »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #164 on: August 14, 2005, 06:09:15 am »


Why bother writing anything then?  Or, what good is the forum if I am just told to go read the docs?  It take less bandwidth and time to just say 'crack open this particular file' and 'edit this or that.'

Anyway, don't bother replying...  It's a waste of time and resources.

UPDATE:  I asked someone else, and she told me point blank and I did it in 30 seconds.


Deep breaths...

I thought pointing you at the exact example in the docs would be helpful enough.  I have many many hours put into writing this, improving, supporting and spending my time getting it working on every system that comes along (An acurate figure would be difficult, but well over 100+ hours).   Now I don't mind doing that, I like giving back the open source community, but when someone cannot be bothered to even read over the written instructions, even when specifically pointed to the exact parts they need to read and they get all uppity about the support they receive from me - it really saddens me.

There are a number of people here who would agree that I spent a lot of time helping them to get their systems working with this...  People who were on a strangely configured servers, people with different subdomains, people with the beta... all legitamate problems that the docs could not help.

Quote
Or, what good is the forum if I am just told to go read the docs?  It take less bandwidth and time to just say 'crack open this particular file' and 'edit this or that.'

I guess you could rephrase it like "what good are the doc's if people are just going to show up in the forum and ask?"  It does not take less bandwidth and time to just say crack open this file and edit this... It takes me less time to point you to the EXACT place in the docs.  It takes less bandwidth as the information only has to go from my server to your web browser.  Not by me retyping it, posting it to the server and you downloading it again.  If you did read the docs, you would have learned to help yourself.  Then you could potentially help others.  Like the old proverb goes... "Build a man a fire and he is warm for a night, Set a man on fire and he is warm the rest of his life"....  Hmmm, well, it was something like that.

This forum is here to help people.  Really.  Showing you where to look is much more helpful for this sort of thing than just telling you what to do.  Now if you did read the pages and still had a question, great - post away.  That means something could be lacking in the docs and I would love to hear about it. 

If you cannot be bothered to read the exact parts of the documentation I went out of my way to point you too, then I am going to spend my free time helping the people who have actually problems, not just a sense of self entitlement.  Either that or fixing cpmfetch for CPG 1.4.1 BETA or figuring out the other three open questions that actually seem like problems.   Its times like this that make me question why I really bother.  I mean I wrote this in the beginning to solve a need I had.  Then I figured I would just polish it up a bit and put it on Coppermines forums so maybe one or two other people maybe benefit from it.  Then a few requests trickled in, a few people had questions...  Do I do it for fame?  Do I get paid for this?  Do I feel some deep seated need be attain alpha geek status?  Nope.  I do not get money, my page actually says if you prove a donation to a non-profit from my list you will get extra help - Do I get fame?  Lol... 

Nope, I do it purely because I feel a sort of responsibility for what I hath wrought - and because once in a while someone goes out of thier way to drop me an e-mail and say "Hey, thanks for the script - works good" without needing help.  I deal with the bugs, but its the one thank you I get once in a while that makes it worth continuing.  Although I do also appreciate the "love the script" even when it does come with a question.

There, I feel better - well, not really.  Hope you do too.

Well enjoy the script, sign up for the mailing list, sign up for the mailing list if you want notifications on new versions and bug fixes. 

Vuud
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

reyn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #165 on: August 14, 2005, 11:50:32 am »

It would be nice for anyone using CpmFetch to list their site for others to see the way it is being used, my test site using  cpg1.4.1  is at http://kuckoo.co.uk I have just started using it on the Home page for a random picture. Please note the photo's are not the best example of my work and are just for test purposes. I intend to change all the static pictures to use CpmFetch.
By the way vuud, we really do appreciate your help.
Frank
Logged

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #166 on: August 14, 2005, 01:00:34 pm »

Vuud an idea (but very hard to realize maybe for you :))

Instead of replying of newbies like me (we are a lot of to not understand some things :)) ... why don't you create a mini-admin with all options CPmFetch is able to do, and you only copy/paste the code ?

I know, it seems to be impossible, because there are too many options ... but ... whynot ?

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #167 on: August 14, 2005, 03:10:58 pm »

Vuud an idea (but very hard to realize maybe for you :))

Instead of replying of newbies like me (we are a lot of to not understand some things :)) ... why don't you create a mini-admin with all options CPmFetch is able to do, and you only copy/paste the code ?

I know, it seems to be impossible, because there are too many options ... but ... whynot ?

Hey Radinou,

I am not sure I understand what you are asking...  Have you seen the example page off the doc's part of the web site? 

http://www.fistfullofcode.com/php-lib/showexternal.php?url=http://www.fistfullofcode.com/projects/copperminefetch/tests/index.php

Yes, its formatted terribly, and "prettying" it up is on my list of things to do... but its a long list.

Take a look there...  its examples, with the code to make them happen.  Basically, its the pages I test new functions on - so most of the time its working.  Some also do not have code - but if you see one that interests you, let me know and I will go back and make the code more visable.

If this is not what you are thinking, please let me know... and we'll figure it out

Thanks!





Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #168 on: August 14, 2005, 03:16:16 pm »

It would be nice for anyone using CpmFetch to list their site for others to see the way it is being used, my test site using  cpg1.4.1  is at http://kuckoo.co.uk I have just started using it on the Home page for a random picture. Please note the photo's are not the best example of my work and are just for test purposes. I intend to change all the static pictures to use CpmFetch.
By the way vuud, we really do appreciate your help.
Frank

Okay, two's enough for me.  I am going to go create a thread called "Users sites - Pages accessing CPG from outside"

So anyone with an urge to share, go there

I'll try to post one in there too...

Thanks

Vuud

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #169 on: August 14, 2005, 04:17:47 pm »

Vuud an idea (but very hard to realize maybe for you :))

Instead of replying of newbies like me (we are a lot of to not understand some things :)) ... why don't you create a mini-admin with all options CPmFetch is able to do, and you only copy/paste the code ?

I know, it seems to be impossible, because there are too many options ... but ... whynot ?

Hey Radinou,

I am not sure I understand what you are asking...  Have you seen the example page off the doc's part of the web site? 

http://www.fistfullofcode.com/php-lib/showexternal.php?url=http://www.fistfullofcode.com/projects/copperminefetch/tests/index.php

Yes, its formatted terribly, and "prettying" it up is on my list of things to do... but its a long list.

Take a look there...  its examples, with the code to make them happen.  Basically, its the pages I test new functions on - so most of the time its working.  Some also do not have code - but if you see one that interests you, let me know and I will go back and make the code more visable.

If this is not what you are thinking, please let me know... and we'll figure it out

Thanks!



It's the idea of my question :)

I see now how it works ... but another question : you display only images ?

Or ... your plugin has interesting features to explore (I think)

So ... is it possible to turn in "text" mode ?"

For example ... I want xxxxx last albums from album X ... but I want to have a simply list
<ul>
  <li>album 1</li>
  <li>album 2</li> ...
</ul>

And do you plan to realize tableless version of your calling pics ?

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #170 on: August 14, 2005, 06:17:05 pm »


It's the idea of my question :)

I see now how it works ... but another question : you display only images ?

Or ... your plugin has interesting features to explore (I think)

So ... is it possible to turn in "text" mode ?"

For example ... I want xxxxx last albums from album X ... but I want to have a simply list
<ul>
  <li>album 1</li>
  <li>album 2</li> ...
</ul>

And do you plan to realize tableless version of your calling pics ?

Check out Section 4 of the examples pages... there is something in there close to what your asking for.  In combination with the new tags for imageless displays

Docs: http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06s02.html
See: the noimage entry in there...

That may do it.  To be honest I have not tried combining those... the program has evolved so much that its gotten beyond one function does one thing - its all interrelated inside, so it may just work.  Let me know if that works for you.

I am planning on more category and album sorts of listings...  Its one of those things.

I have long term plans to provide tableless versions of the pics... but since I don't have much experience with tableless right now, I am deferring it for a bit.  If anyone is really good with tableless and wants to work with me on that let me know.  I assume you mean CSS layouts right?  Anyway, that would have to be in a bit... things are busy here and the 1.4.1 support is more important right now.

Take care, let me know how it all works out








Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #171 on: August 14, 2005, 06:48:15 pm »


Hey Stefan,

Is there anything strange about your hosting?  Different domains, sub-domaining, strange file permissions, etc?  I've taken a look at the information I could get from CFTEST on your site and I am stumped.  There are no error messages or missing images, its just... nothing.

I am going to ponder this some more, but was just wondering if there was anything out of the ordinary there.

Its much easier to fix something, when something actually blows up.  The just not doing anything is simply creepy.

Thanks,

Vuud




Hi,

i also cant get this script working. Calling cftest.php i get:
Code: [Select]
PASS
10 No dots in partial url PASS
15 coppermine.php found PASS
20 coppermine_dao.php has been removed PASS
25 cpmfetch.php found PASS
30 cpmfetch_dao.php found PASS
35 Server OS = Linux server1.serverspace.info 2.4.27 #2 Thu Nov 25 11:59:27 CET 2004 i686 INFO
40 WebServer = Apache/1.3.29 (Debian GNU/Linux) PHP/4.4.0-0.dotdeb.0 mod_ssl/2.8.16 OpenSSL/0.9.7c mod_perl/1.29 INFO
45 PHP Version = 4.4.0-0.dotdeb.0 INFO
55 DOCUMENT_ROOT: /home/harrydbx/www.myforum.com INFO
60 C_DOCUMENT_ROOT: Not found INFO
65 doc_root: Not found (IIS Servers only) INFO
70 SCRIPT_FILENAME: /home/harrydbx/www.myforum.com/cpmfetch/cftest.php INFO
75 DOCUMENT_ROOT is a good match PASS
80 Found CPG config file PASS
But i dont see any thumbnails. I dont get a error message...

All i see is:

Code: [Select]
Trying to display some images:

Your installation seems correct so far, you should see a small grid of thumbnails from your gallery

If you do not see thumbnails, or get more warnings then something is pretty wrong. As long as you are using standard prefixes in Coppermine, you should see everything. If you are not using standard prefixes, then you need to adjust them by editing the first three variables in the cpmfetch.php file.

If everything looks good, and you get everything else working, I'd recomment removing this file, or making it non-executable. No need to allow access into a phpinfo tag if you dont have to.
For further help and in general more information, please see the help pages for CoppermineFetch.

Any hints what could be wrong here ?

Thanks
Stefan
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #172 on: August 14, 2005, 06:54:13 pm »

I'm trying to get cpmfetch working but don't seem to get to view the thumbnails when trying cftest

Your installation seems correct so far, you should see a small grid of thumbnails from your gallery
Error in getImageTouse: Extension (strtolower): .jpg File:/home/knobben/public_html/coppermine//albums/miami2003/thumb_117-1783_STG.JPG
Error in getImageTouse: Extension (strtolower): .jpg File:/home/knobben/public_html/coppermine//albums/miami2003/thumb_120-2031_IMG.JPG
..........

My pictures are in another directory and
the path should be something like File:/home/knobben/public_html/fotoalbums/miami2003/thumb_120-2031_IMG.JPG


Hi Nanno,

Just want to make sure I get this... your coppermine gallery is in /coppermine but your albums directroy is in /fotoalbums  ?

Working on a fix for this now



Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #173 on: August 14, 2005, 07:46:55 pm »


Trying to display some images:

Your installation seems correct so far, you should see a small grid of thumbnails from your gallery
Error in getImageTouse: Extension (strtolower): .jpg File:/home/knobben/public_html/coppermine//albums/miami2003/thumb_117-1783_STG.JPG
Error in getImageTouse: Extension (strtolower): .jpg File:/home/knobben/public_html/coppermine//albums/miami2003/thumb_120-2031_IMG.JPG
..........

My pictures are in another directory and
the path should be something like File:/home/knobben/public_html/fotoalbums/miami2003/thumb_120-2031_IMG.JPG


HI Nanno and sorry for taking so long.

I just uploaded a new version to my web site  Stable 1.6.1 which has a new function to solve your problem.

Your the first person to run into this issue, but if CPG allows it, I gotta support it here right?

---------- from the docs (still to be added) ----------------

If for some reason you have your album directory somewhere else you need to make a call to the cpm object AFTER you create it, and BEFORE you ask it to display any images.  This qualifies as a bug so I am releasing it as a new stable.  By the time the next stable version is released, I plan on having a copy of the CPG settings extracted on installation, so this will become unneeded.  At that time, the function shown here will do nothing (so it will not break pages calling it).

Lets say in this example, your coppermine photo gallery is installed in a directory named cpg, but your photos are in a directory named testalbum.  Both of these are right off the top of the web site.

You would add in the cpm_OverridePathToAlbums call right after the creation of the $objCpm object.  Like so:

   $objCpm = new cpm('/cpg');
   $objCpm->cpm_OverridePathToAlbums("/testalbum");

--------------------------------------------------------------------

IN your case "/testalbum" would be "/fotoalbums" right?

Lemme know how this works for you

Vuud



Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

nanno

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #174 on: August 15, 2005, 08:29:07 am »

Great !

It works! :)

Keep up the good work!

Thanks,

nanno
Logged

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #175 on: August 15, 2005, 08:51:15 am »


It's the idea of my question :)

I see now how it works ... but another question : you display only images ?

Or ... your plugin has interesting features to explore (I think)

So ... is it possible to turn in "text" mode ?"

For example ... I want xxxxx last albums from album X ... but I want to have a simply list
<ul>
  <li>album 1</li>
  <li>album 2</li> ...
</ul>

And do you plan to realize tableless version of your calling pics ?

Check out Section 4 of the examples pages... there is something in there close to what your asking for.  In combination with the new tags for imageless displays

Docs: http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06s02.html
See: the noimage entry in there...

That may do it.  To be honest I have not tried combining those... the program has evolved so much that its gotten beyond one function does one thing - its all interrelated inside, so it may just work.  Let me know if that works for you.

I am planning on more category and album sorts of listings...  Its one of those things.

I have long term plans to provide tableless versions of the pics... but since I don't have much experience with tableless right now, I am deferring it for a bit.  If anyone is really good with tableless and wants to work with me on that let me know.  I assume you mean CSS layouts right?  Anyway, that would have to be in a bit... things are busy here and the 1.4.1 support is more important right now.

Take care, let me know how it all works out



I can help you to realize tableless version ... you'll see the code will be simplier :) (the end of tr !)

If you see http://www.sortons.net/test-nucleus.html or http://www.sortons.net/photos/thumbnails.php?album=1770, and look the code ...
:)

runaweigh

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #176 on: August 15, 2005, 09:28:11 pm »

Hello,
I have attempted to install the cpmfetch but I don not get the thumbnails. Here is the report on the test page.  Any advice?

help pages for CoppermineFetch."; } function OutputTestRow ($number,$text,$status) { print "$number$text"; switch ($status) { case ("PASS"): print ""; print $status; print ""; break; case ("INFO"): print ""; print $status; print ""; break; case ("BAD"): print ""; print $status; print ""; break; case ("FAIL"): print ""; print ""; print $status; print ""; break; default: print $status; } print "\n"; } function testDisplay ($PartialUrlToCPG) { include "./cpmfetch.php"; $objCpm = ""; $objCpm = new cpm($PartialUrlToCPG); $styleguide = array( //"TABLESTYLE" => "photoclip", //"rowstyle" => "photoclip", "cellstyle" => "photoclip", "linkstyle" => "photoclip", "alttag" => "One of the last photos submitted", "subtitle" => "%o
%V views", "imagestyle" => "photoclip", "imagesize" => 'thumb', "imagewidth" => '100'); print "
Your installation seems correct so far, you should see a small grid of thumbnails from your gallery

"; $objCpm->cpm_viewRandomMedia(2,3,$styleguide); print "
 

"; $objCpm->cpm_close(); print "
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #177 on: August 15, 2005, 09:36:19 pm »

Hello,
I have attempted to install the cpmfetch but I don not get the thumbnails. Here is the report on the test page.  Any advice?

help pages for CoppermineFetch."; } function OutputTestRow ($number,$text,$status) { print "$number$text"; switch ($status) { case ("PASS"): print ""; print $status; print ""; break; case ("INFO"): print ""; print $status; print ""; break; case ("BAD"): print ""; print $status; print ""; break; case ("FAIL"): print ""; print ""; print $status; print ""; break; default: print $status; } print "\n"; } function testDisplay ($PartialUrlToCPG) { include "./cpmfetch.php"; $objCpm = ""; $objCpm = new cpm($PartialUrlToCPG); $styleguide = array( //"TABLESTYLE" => "photoclip", //"rowstyle" => "photoclip", "cellstyle" => "photoclip", "linkstyle" => "photoclip", "alttag" => "One of the last photos submitted", "subtitle" => "%o
%V views", "imagestyle" => "photoclip", "imagesize" => 'thumb', "imagewidth" => '100'); print "
Your installation seems correct so far, you should see a small grid of thumbnails from your gallery

"; $objCpm->cpm_viewRandomMedia(2,3,$styleguide); print "
 

"; $objCpm->cpm_close(); print "


Thats like a chunk of the code from the test page...  What did it say when you loaded it in a web browser?

Do you get any FAIL entries displayed when you go to the test page from a web browser?

Oh, if you got that when you went to it with a web browser it could mean that for some reason the files are not being executed as PHP





Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Niels

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #178 on: August 15, 2005, 09:44:32 pm »

Dear vuud,

I stumbled accros a problem I did not yet find here.. When testing the script I am receiving the following errors:
Error in getImageTouse: Extension (strtolower): .jpg File:/home/ga2958/domains/statw.nl/public_html/fotos/ftp/voorbereiding/thumb_t_p1010028.jpg
Error in getImageTouse: Extension (strtolower): .jpg File:/home/ga2958/domains/statw.nl/public_html/fotos/ftp/voorbereiding/thumb_t_p1010347.jpg
Error in getImageTouse: Extension (strtolower): .jpg File:/home/ga2958/domains/statw.nl/public_html/fotos/ftp/voorbereiding/thumb_t_p1010206.jpg
Error in getImageTouse: Extension (strtolower): .jpg File:/home/ga2958/domains/statw.nl/public_html/fotos/ftp/voorbereiding/thumb_t_p1010233.jpg
Error in getImageTouse: Extension (strtolower): .jpg File:/home/ga2958/domains/statw.nl/public_html/fotos/ftp/voorbereiding/thumb_t_p1010066.jpg
Error in getImageTouse: Extension (strtolower): .jpg File:/home/ga2958/domains/statw.nl/public_html/fotos/ftp/voorbereiding/thumb_t_p1010257.jpg
(there is six pictures to be displayed, and it does show the  borders for the pictures but not the pictures themselves, reason? No idea :(. In the html code it just says "<img src="" title="blahblah">". It is linked correctly though.
The testscript passes all scripts, and the images áre in the dir shown above.

Link to my Coppermine Gallery:
http://statw.nl/fotos/index.php
Link to test script:
http://statw.nl/cpmfetch/cftest.php
Coppermine Version:
1.3.3
Cpmfetch Version:
1.6.1

I've been hassling with this problem for about two or three hours now, installed it on another domain (same hosting company though) and still no result.
I'm building a website for my brother who is going to do a world trip and I would really like to have the site finished before 1st of september 2005 :). Hope you know a solution to this problem, cause I'm fresh out ideas ;).

Thanks a bunch!
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #179 on: August 15, 2005, 09:59:40 pm »


First off, thank you for posting all the relevant information about your set up.  It helps to have it right there.

Second:  There is a bug in 1.6.1 (which you discovered - congradulations)

Third:  I owe you two hours of your life back

Fourth: Download version 1.6.2 from the web site... it will fix it for you.

I have this cursed caching server between me and my test site and sometimes when I test stuff, it shows me something from before - so I got a good looking thing when I tested this last night.  Damnit.


Dear vuud,


Link to my Coppermine Gallery:
http://statw.nl/fotos/index.php
Link to test script:
http://statw.nl/cpmfetch/cftest.php
Coppermine Version:
1.3.3
Cpmfetch Version:
1.6.1

I've been hassling with this problem for about two or three hours now, installed it on another domain (same hosting company though) and still no result.

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco
Pages: 1 ... 5 6 7 8 [9] 10 11 12 13 ... 54   Go Up
 

Page created in 0.039 seconds with 21 queries.