Adam Marash
|
| Posted: 07/15/2001, 8:53 AM |
|
I would like to display 10 thumbnail images in a 5 column by 2 row matrix,
using a Grid form to look up the image pointers. Any ideas if this is
possible and what needs to be modified to enable this sort of display?
|
|
|
 |
Scott R. Senay
|
| Posted: 07/15/2001, 11:10 AM |
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greetings Adam,
Actually if you put the image information (file pointers) into a
table written as HTML, then when pulled from the database they will
be replaced by the images... Fairly simple when you think about
it... You would tell CC how you want the grid to appear onscreen and
it would pull the data out of the table which of course would then be
replaced with your images...
Scott...
"Adam Marash" <faxman@altavista.net> wrote in message
news:9ise9m$hm0$1@news.codecharge.com...
> I would like to display 10 thumbnail images in a 5 column by 2 row
> matrix, using a Grid form to look up the image pointers. Any ideas
> if this is possible and what needs to be modified to enable this
> sort of display?
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3
iQA/AwUBO1Hc+JlYYi/ptzWoEQJ21wCg2ohVtYdwDF+U3fn148rIKbrW+ZYAn1Gz
fcJCF5Dj4JDlkFkFRMlFxVRo
=IuAS
-----END PGP SIGNATURE-----
|
|
|
 |
Owen Lees
|
| Posted: 07/16/2001, 1:55 AM |
|
This might be a silly question, but since when has CC had the option to
generate the code required to show a gridded matrix? (Ie: rows by columns
where each cell is an item from the SAME field in a db)
The standard output is seqential either across or down but not both!
Unless of course I have missed a very useful feature.
Owen
"Scott R. Senay" <drsenay@conceptech.com> wrote in message
news:9isman$vvg$1@news.codecharge.com...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greetings Adam,
>
> Actually if you put the image information (file pointers) into a
> table written as HTML, then when pulled from the database they will
> be replaced by the images... Fairly simple when you think about
> it... You would tell CC how you want the grid to appear onscreen and
> it would pull the data out of the table which of course would then be
> replaced with your images...
>
> Scott...
>
> "Adam Marash" <faxman@altavista.net> wrote in message
>news:9ise9m$hm0$1@news.codecharge.com...
> > I would like to display 10 thumbnail images in a 5 column by 2 row
> > matrix, using a Grid form to look up the image pointers. Any ideas
> > if this is possible and what needs to be modified to enable this
> > sort of display?
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Personal Privacy 6.5.3
>
> iQA/AwUBO1Hc+JlYYi/ptzWoEQJ21wCg2ohVtYdwDF+U3fn148rIKbrW+ZYAn1Gz
> fcJCF5Dj4JDlkFkFRMlFxVRo
> =IuAS
> -----END PGP SIGNATURE-----
>
>
>
|
|
|
 |
Scott R. Senay
|
| Posted: 07/16/2001, 7:21 AM |
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ah now that is something different, I honestly don't know if it can
do that... Sorry about the confusion, I don't know if it can do
this, I know you could put in some custom code in the before show to
build a grid of AxB size, but if CC itself can do this I know not...
Scott...
"Owen Lees" <owen@grafixx.co.uk> wrote in message
news:9iua62$vgp$1@news.codecharge.com...
> This might be a silly question, but since when has CC had the
> option to generate the code required to show a gridded matrix? (Ie:
> rows by columns where each cell is an item from the SAME field in a
> db)
>
> The standard output is seqential either across or down but not
> both!
>
> Unless of course I have missed a very useful feature.
>
> Owen
>
>
> "Scott R. Senay" <drsenay@conceptech.com> wrote in message
>news:9isman$vvg$1@news.codecharge.com...
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Greetings Adam,
> >
> > Actually if you put the image information (file pointers) into a
> > table written as HTML, then when pulled from the database they
> > will be replaced by the images... Fairly simple when you think
> > about it... You would tell CC how you want the grid to appear
> > onscreen and it would pull the data out of the table which of
> > course would then be replaced with your images...
> >
> > Scott...
> >
> > "Adam Marash" <faxman@altavista.net> wrote in message
> >news:9ise9m$hm0$1@news.codecharge.com...
> > > I would like to display 10 thumbnail images in a 5 column by 2
> > > row matrix, using a Grid form to look up the image pointers.
> > > Any ideas if this is possible and what needs to be modified to
> > > enable this sort of display?
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGP Personal Privacy 6.5.3
> >
> > iQA/AwUBO1Hc+JlYYi/ptzWoEQJ21wCg2ohVtYdwDF+U3fn148rIKbrW+ZYAn1Gz
> > fcJCF5Dj4JDlkFkFRMlFxVRo
> > =IuAS
> > -----END PGP SIGNATURE-----
> >
> >
> >
>
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3
iQA/AwUBO1L4yplYYi/ptzWoEQK6ZgCfT8J7sG1CqWlkJtFjBcUPtjv0LQEAn12e
uKScFwN8KaPcn8qepnm1kVCx
=gFLr
-----END PGP SIGNATURE-----
|
|
|
 |
Owen Lees
|
| Posted: 07/16/2001, 7:44 AM |
|
ok - go fo it!
Any chance of a code snippet that makes a grid in a custom event?
Would be gratefully recicved.
Owen
"Scott R. Senay" <drsenay@conceptech.com> wrote in message
news:9iut95$95c$1@news.codecharge.com...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ah now that is something different, I honestly don't know if it can
> do that... Sorry about the confusion, I don't know if it can do
> this, I know you could put in some custom code in the before show to
> build a grid of AxB size, but if CC itself can do this I know not...
>
> Scott...
>
>
>
>
>
> "Owen Lees" <owen@grafixx.co.uk> wrote in message
>news:9iua62$vgp$1@news.codecharge.com...
> > This might be a silly question, but since when has CC had the
> > option to generate the code required to show a gridded matrix? (Ie:
> > rows by columns where each cell is an item from the SAME field in a
> > db)
> >
> > The standard output is seqential either across or down but not
> > both!
> >
> > Unless of course I have missed a very useful feature.
> >
> > Owen
> >
> >
> > "Scott R. Senay" <drsenay@conceptech.com> wrote in message
> >news:9isman$vvg$1@news.codecharge.com...
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Greetings Adam,
> > >
> > > Actually if you put the image information (file pointers) into a
> > > table written as HTML, then when pulled from the database they
> > > will be replaced by the images... Fairly simple when you think
> > > about it... You would tell CC how you want the grid to appear
> > > onscreen and it would pull the data out of the table which of
> > > course would then be replaced with your images...
> > >
> > > Scott...
> > >
> > > "Adam Marash" <faxman@altavista.net> wrote in message
> > >news:9ise9m$hm0$1@news.codecharge.com...
> > > > I would like to display 10 thumbnail images in a 5 column by 2
> > > > row matrix, using a Grid form to look up the image pointers.
> > > > Any ideas if this is possible and what needs to be modified to
> > > > enable this sort of display?
> > >
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: PGP Personal Privacy 6.5.3
> > >
> > > iQA/AwUBO1Hc+JlYYi/ptzWoEQJ21wCg2ohVtYdwDF+U3fn148rIKbrW+ZYAn1Gz
> > > fcJCF5Dj4JDlkFkFRMlFxVRo
> > > =IuAS
> > > -----END PGP SIGNATURE-----
> > >
> > >
> > >
> >
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Personal Privacy 6.5.3
>
> iQA/AwUBO1L4yplYYi/ptzWoEQK6ZgCfT8J7sG1CqWlkJtFjBcUPtjv0LQEAn12e
> uKScFwN8KaPcn8qepnm1kVCx
> =gFLr
> -----END PGP SIGNATURE-----
>
>
>
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 07/17/2001, 4:33 AM |
|
It's 100% possible to make a matrix in Custom Show event.
Code must be like this :
Some initial event (e.g. Open event)
1) Create 2-dimensional array
2) Load data from db into 2-dimensional array (and later use
myarray[$color][$size] )
"Custom show" event
3) Output this data via embedded loops (e.g 2 "for" loops)
--
Alex
CC
Adam Marash <faxman@altavista.net> wrote in message
news:9ise9m$hm0$1@news.codecharge.com...
> I would like to display 10 thumbnail images in a 5 column by 2 row matrix,
> using a Grid form to look up the image pointers. Any ideas if this is
> possible and what needs to be modified to enable this sort of display?
>
|
|
|
 |
Owen Lees
|
| Posted: 07/17/2001, 4:59 AM |
|
Accepted Alex and thanks, but for the thicko's here (self included) could
you expand on that code just a little.
As I understand this - a query from CC would result in an array that is
prought back from the db sequentially.. therefore showing 2 columns of
sequential data is more tricky as this involves the second column knowing
the value of the first so that when the code moves back to col1 row 2 it
doesnt start from item2 again...
Perhaps a picture gallery analogy is more pertinent here? Where the user
wants to dictate how many cells across they wish to see thumbnail in.. thats
what I want to achive anyway. And so I need to display (from the db that
conatins only pic1,pic2,pic3 etc as paths and names)
Row1 Col1{pic1} row1 col2 {pic2)
Row2 Col1{pic3} row2 col2 {pic4}
and so on until no more data...
Ideas?
Owen
"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:9j17qa$rha$1@news.codecharge.com...
> It's 100% possible to make a matrix in Custom Show event.
> Code must be like this :
>
> Some initial event (e.g. Open event)
>
> 1) Create 2-dimensional array
> 2) Load data from db into 2-dimensional array (and later use
> myarray[$color][$size] )
>
> "Custom show" event
> 3) Output this data via embedded loops (e.g 2 "for" loops)
>
> --
> Alex
> CC
>
> Adam Marash <faxman@altavista.net> wrote in message
>news:9ise9m$hm0$1@news.codecharge.com...
> > I would like to display 10 thumbnail images in a 5 column by 2 row
matrix,
> > using a Grid form to look up the image pointers. Any ideas if this is
> > possible and what needs to be modified to enable this sort of display?
> >
>
>
|
|
|
 |
|