CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 a simple CCS Image Gallery

Print topic Send  topic

Author Message
Dave Rexel
Posted: 12/07/2003, 1:56 PM

::
While the php Gallery from SourceForge is very full-featured I wanted to do
a CCS gallery from scratch, to examine how CCS handles hierarchical data
that does not use a database source.

The commands and user contributions here
http://php.net/manual/en/ref.filesystem.php and here
http://php.net/manual/en/ref.dir.php helped to make a initial CCS Image
Gallery that scanned for specified file-types from a user-defined starting
path.

The CCS Image Gallery is a simple example at
http://ccs.ath.cx/~ccs/fo/rexGallery/Default.php#

Free membership is required to view other rexdesign Tutorials & Examples.

TIA for comments and suggestions
Dave

Sean Brown
Posted: 12/08/2003, 5:57 AM

I've been hoping someone would tackle this. Any idea if it will be
available for download? What about an ASP version?

Looks great!

"Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
news:br07lp$8s1$1@news.codecharge.com...
> ::
> While the php Gallery from SourceForge is very full-featured I wanted to
do
> a CCS gallery from scratch, to examine how CCS handles hierarchical data
> that does not use a database source.
>
> The commands and user contributions here
> http://php.net/manual/en/ref.filesystem.php and here
> http://php.net/manual/en/ref.dir.php helped to make a initial CCS Image
> Gallery that scanned for specified file-types from a user-defined starting
> path.
>
> The CCS Image Gallery is a simple example at
> http://ccs.ath.cx/~ccs/fo/rexGallery/Default.php#
>
> Free membership is required to view other rexdesign Tutorials & Examples.
>
> TIA for comments and suggestions
> Dave
>
>

DonB
Posted: 12/08/2003, 6:24 AM

Cool, Dave. I noticed that the page which displays the full image is quite
large (bigger than 1024/768) such that I can't see the "window control"
buttons in the top right corner.

--
DonB

http://www.gotodon.com/ccbth


"Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
news:br07lp$8s1$1@news.codecharge.com...
> ::
> While the php Gallery from SourceForge is very full-featured I wanted to
do
> a CCS gallery from scratch, to examine how CCS handles hierarchical data
> that does not use a database source.
>
> The commands and user contributions here
> http://php.net/manual/en/ref.filesystem.php and here
> http://php.net/manual/en/ref.dir.php helped to make a initial CCS Image
> Gallery that scanned for specified file-types from a user-defined starting
> path.
>
> The CCS Image Gallery is a simple example at
> http://ccs.ath.cx/~ccs/fo/rexGallery/Default.php#
>
> Free membership is required to view other rexdesign Tutorials & Examples.
>
> TIA for comments and suggestions
> Dave
>
>

Dave Rexel
Posted: 12/08/2003, 4:22 PM

::
Glad you liked it!
The primary goal was to process non-database hierarchical data in CCS, this
example is just a beginning.

It would be beneficial to have similar creative access in the IDE to this
type of content (an XML Data-Source Query Builder for example) as is
featured for data-base content.

To avoid getting swamped with help-requests or configuration issues this php
example will be available for download as soon as I can finalise the help
file.

Porting :
Any chance of some help here? I will do my best to assist anybody porting to
ASP etc.

Greetings
Dave

"Sean Brown" <sbrown@titledata.com> wrote in message
news:br2015$88g$1@news.codecharge.com...
> I've been hoping someone would tackle this. Any idea if it will be
> available for download? What about an ASP version?
>
> Looks great!
>
> "Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
>news:br07lp$8s1$1@news.codecharge.com...
> > ::
> > While the php Gallery from SourceForge is very full-featured I wanted to
> do
> > a CCS gallery from scratch, to examine how CCS handles hierarchical data
> > that does not use a database source.
> >
> > The commands and user contributions here
> > http://php.net/manual/en/ref.filesystem.php and here
> > http://php.net/manual/en/ref.dir.php helped to make a initial CCS Image
> > Gallery that scanned for specified file-types from a user-defined
starting
> > path.
> >
> > The CCS Image Gallery is a simple example at
> > http://ccs.ath.cx/~ccs/fo/rexGallery/Default.php#
> >
> > Free membership is required to view other rexdesign Tutorials &
Examples.
> >
> > TIA for comments and suggestions
> > Dave
> >
> >
>
>

Dave Rexel
Posted: 12/08/2003, 4:37 PM

Thanks Don,
I hope the smaller images popups are showing centered on your screen, if
centering is working for most users then that javascript sequence can be
expanded to adjust the popups maximum size if it exceeds the clients screen
size. It's simple and rough-hewn as the main object was to parse a
file-system path, so the image stuff was thrown in as example content.
Dave

"DonB" <~ccbth~@gotodon.com> wrote in message
news:br21io$a7f$1@news.codecharge.com...
> Cool, Dave. I noticed that the page which displays the full image is
quite
> large (bigger than 1024/768) such that I can't see the "window control"
> buttons in the top right corner.
>
> --
> DonB
>
> http://www.gotodon.com/ccbth
>
>
> "Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
>news:br07lp$8s1$1@news.codecharge.com...
> > ::
> > While the php Gallery from SourceForge is very full-featured I wanted to
> do
> > a CCS gallery from scratch, to examine how CCS handles hierarchical data
> > that does not use a database source.
> >
> > The commands and user contributions here
> > http://php.net/manual/en/ref.filesystem.php and here
> > http://php.net/manual/en/ref.dir.php helped to make a initial CCS Image
> > Gallery that scanned for specified file-types from a user-defined
starting
> > path.
> >
> > The CCS Image Gallery is a simple example at
> > http://ccs.ath.cx/~ccs/fo/rexGallery/Default.php#
> >
> > Free membership is required to view other rexdesign Tutorials &
Examples.
> >
> > TIA for comments and suggestions
> > Dave
> >
> >
>
>

DonB
Posted: 12/08/2003, 5:34 PM

On a second look, they do center on-screen, except there are a few larger
than my screen, and these wind up offset to the right. IE normally will
resize images to fit, but yours don't do that for some reason.

--
DonB

http://www.gotodon.com/ccbth


"Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
news:br35gc$m1t$1@news.codecharge.com...
> Thanks Don,
> I hope the smaller images popups are showing centered on your screen, if
> centering is working for most users then that javascript sequence can be
> expanded to adjust the popups maximum size if it exceeds the clients
screen
> size. It's simple and rough-hewn as the main object was to parse a
> file-system path, so the image stuff was thrown in as example content.
> Dave
>
> "DonB" <~ccbth~@gotodon.com> wrote in message
>news:br21io$a7f$1@news.codecharge.com...
> > Cool, Dave. I noticed that the page which displays the full image is
> quite
> > large (bigger than 1024/768) such that I can't see the "window control"
> > buttons in the top right corner.
> >
> > --
> > DonB
> >
> > http://www.gotodon.com/ccbth
> >
> >
> > "Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
> >news:br07lp$8s1$1@news.codecharge.com...
> > > ::
> > > While the php Gallery from SourceForge is very full-featured I wanted
to
> > do
> > > a CCS gallery from scratch, to examine how CCS handles hierarchical
data
> > > that does not use a database source.
> > >
> > > The commands and user contributions here
> > > http://php.net/manual/en/ref.filesystem.php and here
> > > http://php.net/manual/en/ref.dir.php helped to make a initial CCS
Image
> > > Gallery that scanned for specified file-types from a user-defined
> starting
> > > path.
> > >
> > > The CCS Image Gallery is a simple example at
> > > http://ccs.ath.cx/~ccs/fo/rexGallery/Default.php#
> > >
> > > Free membership is required to view other rexdesign Tutorials &
> Examples.
> > >
> > > TIA for comments and suggestions
> > > Dave
> > >
> > >
> >
> >
>
>

michael weaver
Posted: 12/10/2003, 8:12 AM

Hi Dave,

Very cool. I'm looking forward to seeing the code as I will soon be working
on something similar.

The only suggestion I would add is to display actual thumbnails rather than
large images that are resized via HTML. It decreases load time and image
quality for thumbnails. You could still keep the same scheme as you
currently have, and either have two sets of files in separate folders (ex:
thumbs/whatever.jpg for thumbnail and images/whater.jpg for full-size) or
the thumbnails could be in the same folder with a standard prefix or suffix
(ex: thumb_whatever.gif or whatever_sm.gif). You could split the filenames
to achieve this effect.

Also, I don't know if there is an upload feature in your app, but using a
program such as ImageMagick, you could have the the server create the
thumbnail automatically.

I'll wait and see what you have cooking. Tell me if you need any assistance.

michael




"Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
news:br07lp$8s1$1@news.codecharge.com...
> ::
> While the php Gallery from SourceForge is very full-featured I wanted to
do
> a CCS gallery from scratch, to examine how CCS handles hierarchical data
> that does not use a database source.
>
> The commands and user contributions here
> http://php.net/manual/en/ref.filesystem.php and here
> http://php.net/manual/en/ref.dir.php helped to make a initial CCS Image
> Gallery that scanned for specified file-types from a user-defined starting
> path.
>
> The CCS Image Gallery is a simple example at
> http://ccs.ath.cx/~ccs/fo/rexGallery/Default.php#
>
> Free membership is required to view other rexdesign Tutorials & Examples.
>
> TIA for comments and suggestions
> Dave
>
>

Dave Rexel
Posted: 12/15/2003, 4:51 PM

::
Hi Michael,
Apologies for the rather belated reply,

Found an abundance of ImageMagik, NetPBM, GD, thumbnails and
image-manipulation snippets as I looked through the code of Gallery and
similar php apps on SourceForge and finally cut rather abrubtly to the chase
as my goal is to expose webserver filesystem commands to a CCS app in a
relatively transparent way. The installations and examination of files took
weeks and produced a stripped down to the bone app based on a snippet in the
annotated online php-manual.

This resolved to a very simple but useful function : browsing the filesystem
on the webserver from a secure (scripted or programmed) path and returning
the output to CCS display elements, packaged as an includable file.

The resulting simple gallery was created to relieve my suffering eyes from
just staring at lists and to test CCS reactions to the scripted input. I
wrote a few iterations which recognised user-set filetypes and displayed
user-set icons and no image code... plugged in my own upload scripts in as
well with no issues as they can be configured not to use a database.

I am happy to pass the code on hoping that the improvements are posted back
to the CCS community for the benefit of other coders. It's still only php
but one of the numerous gurus here will perchance be kind enough to port it.

Here's the simple CCS Image Gallery tutorial and project download
http://www.rexdesign.com/ccs/kb.php?language_id=1&categ...=65&event_id=95

Will complete the tutorial later as I'm knackered...
Dave

"michael weaver" <zero@michaelweaver.org> wrote in message
news:br7gl7$suu$1@news.codecharge.com...
> Hi Dave,
>
> Very cool. I'm looking forward to seeing the code as I will soon be
working
> on something similar.
>
> The only suggestion I would add is to display actual thumbnails rather
than
> large images that are resized via HTML. It decreases load time and image
> quality for thumbnails. You could still keep the same scheme as you
> currently have, and either have two sets of files in separate folders (ex:
> thumbs/whatever.jpg for thumbnail and images/whater.jpg for full-size) or
> the thumbnails could be in the same folder with a standard prefix or
suffix
> (ex: thumb_whatever.gif or whatever_sm.gif). You could split the filenames
> to achieve this effect.
>
> Also, I don't know if there is an upload feature in your app, but using a
> program such as ImageMagick, you could have the the server create the
> thumbnail automatically.
>
> I'll wait and see what you have cooking. Tell me if you need any
assistance.
>
> michael
>
>
>
>
> "Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
>news:br07lp$8s1$1@news.codecharge.com...
> > ::
> > While the php Gallery from SourceForge is very full-featured I wanted to
> do
> > a CCS gallery from scratch, to examine how CCS handles hierarchical data
> > that does not use a database source.
> >
> > The commands and user contributions here
> > http://php.net/manual/en/ref.filesystem.php and here
> > http://php.net/manual/en/ref.dir.php helped to make a initial CCS Image
> > Gallery that scanned for specified file-types from a user-defined
starting
> > path.
> >
> > The CCS Image Gallery is a simple example at
> > http://ccs.ath.cx/~ccs/fo/rexGallery/Default.php#
> >
> > Free membership is required to view other rexdesign Tutorials &
Examples.
> >
> > TIA for comments and suggestions
> > Dave
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.