Picture gallery with ASP
I have seen several examples of picture gallery on the net
with XML. But unable to find any example wich integrates with ASP/
HTML.
If someone can help me to do so.
I have something around 20 category of images that i have
provided in a list box on an ASP page. I want the thumbnails of a
selected category to be displayed on Flash stage with left/ right/
top/ bottom/ next/ previous navigation facility.
My object is to provide thumbnails of the pictures on the
left and right side of the stage and then using its large view in
center part of the stage by dragging these thumbnails.
Please help
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file[]= fcSelectFile.getSelectedFiles();
//This is where a real application would open the file.
int count=0;
while(count<file.length)
{ JTextArea selectedFile[]=new JTextArea[count];
PnlUpload.add(selectedFile[count]);
selectedFile[count].setText("Opening: " + file[count].getName() + ".\n");
count++;
}I tried something like this. But somehow it doesn't show anything when I select a few files? I am not too sure what is wrong. Btw, this is only partial code and you can assume other things like Panel and Filechooser are already working. What is not working is this JTextArea array.
Similar Messages
-
Client wants a picture gallery that he can update himself. Any ideas?
I am building a site for the son of an artist. I have built
in WebYep tags
so he can change the text, but he would also like a picture
gallery with
thumbnails that he can update. Now, like you do, I said yes -
we can do
that. Now I'm wondering exactly how to do it? If it were just
full size
pictures we could give them simple numerical names, and I
could give him a
simple FTP program to pop them into a gallery folder. The
problem is we need
thumbnails. This guy can can use a PC to some extent, but he
doesn't have
Dreamweaver so I cannot use the lovely PVII gallery.
Anyone know of a cheap and easy solution?
Thanks
James LoudonCheck with Murray
I am sure he has done this with a PVII product.
B
www.visit-the-coqui.com/
If you are thinking of a vacation to Puerto Rico
http://gadgetgrapevine.blogspot.com
Latest gadget and other news here
"James Loudon" <[email protected]> wrote in
message
news:fkdukh$4f8$[email protected]..
>I am building a site for the son of an artist. I have
built in WebYep tags
>so he can change the text, but he would also like a
picture gallery with
>thumbnails that he can update. Now, like you do, I said
yes - we can do
>that. Now I'm wondering exactly how to do it? If it were
just full size
>pictures we could give them simple numerical names, and I
could give him a
>simple FTP program to pop them into a gallery folder. The
problem is we
>need thumbnails. This guy can can use a PC to some
extent, but he doesn't
>have Dreamweaver so I cannot use the lovely PVII gallery.
> Anyone know of a cheap and easy solution?
> Thanks
>
> --
> James Loudon
>
> -
Hi,
To start off with - I'm a complete noob to this. I apologies for any over-simplistic questions I may ask in advanced.
I've got a picture Gallery with Names, which was been imported from excel. I want to be able to filter the gallery based on text which put into the custom search bar.
I've managed to get the filter working, but when there is no text in the custom search bar, nothing appears in the gallery. Also the search only works if I put in a full name - rather then just part of a name.
So the gallery needs to be filtered based on what text is inserted to the search bar, but if the bar is empty then the whole gallery appears.
Thank you very much advanced! :)
Best Regards,
RTI would use in If statement:
I'm assuming the following, so please modify the names in the statement as needed.
Gallery: Gallery1
Desired Source for Gallery: Table1
Search Column in Table1: Names
Text box to enter search criteria: InputText1
Gallery Items: If(InputText1!Text = "",Table1,Filter(Table1, Lower(InputText1!Text) in Lower(Names)))
I used Lower() because In is case sensitive.
-Bruton -
Having a problem after taking a picture. When I email it and cc myself the picture needs rotated. I use Windows Live Picture Gallery and it will not let me rotate them either.Can anyone help.
As long as you've backed up your photos, what you use is really a matter of personal preference. To avoid duplicates, pick one program. Getting rid of duplicates that you already have is probably going to mean going through the photos one by one.
For problems with Windows Software, you're probably better off posting on a Windows forum.
Best of luck. -
Problems with simple picture gallery
I've got a website project where the client wanted a picture
gallery. I don't really do much with Flash so I went on the web and
found a tutorial on how to get what I want. Problem is that the
instructions I followed are fairly old so I couldn't export my
movie any higher than AS2 and Flash 6 and have it work. That would
be fine except that I wanted to use a feature that requires Flash 8
or higher, namely a gradient mask. I was hoping that I could post
my code and have the board gurus help me out with what i need to do
to get everything working together.
First you'll want to create a movie using AS2 and Flash 8 to
see what I'm trying to accomplish, then export it again with Flash
6 to see it actually working. You can grab a copy of what I'm
working with here:
http://www.technospider.com/~david/rusty.zip
All help greatly appreciated.
Thanks,
Davidbased on experience. i didn't check your file.
you're not likely to get anyone in this forum to check your
file.
if there's not code problem, and you can't publish for flash
8, there will be an error message. if you can publish for flash 8,
you see no error message but your application fails to work
correctly, you must have a problem with code. -
Help please with Picture Gallery
Hi Guys!
My name is Rick, i want to create a picture gallery using as
datasource a
xml file, until now i can load each image from xml reading
its path, i
create a movieclip instance and load inside the jpg file, but
now i want to
create an onPress event for each picture to send popup using
javascript,
i've tried with several ways but i can't make it works, just
one image can
handle the onPress event, how can i create at runtime onPress
events for
each of my images?
this is my code
function CargaXML(RUTA) {
// Create a new XML object.
var flooring:XML = new XML();
// Set the ignoreWhite property to true (default value is
false).
flooring.ignoreWhite = true;
// After loading is complete, trace the XML object.
flooring.onLoad = function(success) {
if (flooring.firstChild.hasChildNodes()) {
var X = 0, Y = 20;
var algo,nombre,nombre2;
for (var i = 0; i<flooring.firstChild.childNodes.length;
i++) {
nombre = "mc"+i; //name of new movieclip
var nextDepth =
_root.spMain.spContentHolder.getNextHighestDepth();
_root.spMain.spContentHolder.attachMovie("mcImg", nombre,
nextDepth,
{_x:X, _y:Y}); //mcImg is a movieclip in my library, so i
create new
instance for each xml node
CARGARIMG(flooring.firstChild.childNodes
.childNodes[0].firstChild.nodeValue,
flooring.firstChild.childNodes.childNodes[1].firstChild.nodeValue,
nombre, i, Y); // pas some
Y += 150;
//for
//if
_root.spMain.vScrollPolicy = "on";
//function
// Load the XML into the flooring object.
flooring.load(RUTA); //RUTA has the xml path
function CARGARIMG(Nombre, whichImage, mc, i, Y) {
if (Nombre != "Ninguna") {
loadMovie(whichImage, mc); //here i load the jpg image
// then i create a text field for an image title
var texto = "texto"+i;
createTextField(texto, getNextHighestDepth(), 0, Y+100, 300,
30);
eval(texto).multiline = true;
eval(texto).text = Nombre;
eval(texto).autoSize = "center";
mc.onPress(){trace(Nombre);} // mc has the new movieclip
instance, i also
tried with eval(mc).onPress(){trace(Nombre);} but nothing
works, just the
last image has attached the event =(
PS: im using Flash 8
Regards
Rickokidoi Mr Helpy!
let me try with this
just one more question, the button should be created at
runtime or inside my
movieclip?
Regards
Rick
"Mr Helpy mcHelpson" <[email protected]>
escribió en el mensaje
news:f46tjk$lg1$[email protected]..
> flooring.onLoad = function(success) {
> if (flooring.firstChild.hasChildNodes()) {
>
> you can just do
>
> flooring.onLoad = function(success) {
> if (success) {
>
> you'll need to create a button on top of your image.
This for me is most
> easily done with a predefined custom class, and on the
instantiation of
> your
> image(movieclip) you can define the button actions
contained in the movie
> clip.
>
> make sense?
>
> HmcH
> -
Pictures taken with old phone uploaded on gallery of new phone
I had lost my iPhone two weeks ago and started using another iPhone signed in with the same Apple ID.
A few days later, pictures that I have never taken with the new iPhone showed up on the gallery with the location they were taken.
Can the lost phone be tracked to be found? If not, is the only choise to change the Apple ID password?jacki3ch0i wrote:
I had lost my iPhone two weeks ago and started using another iPhone signed in with the same Apple ID.
A few days later, pictures that I have never taken with the new iPhone showed up on the gallery with the location they were taken.
Can the lost phone be tracked to be found? If not, is the only choise to change the Apple ID password?
That would depend, if you enabled findmyiphone in your icloud settings.
icloud.com and log in and use the findmyiphone service. Or take that picture to the local authorities and have them deal with it. -
Make 3D Flash wedding photo gallery with songs
Last week, my dearest sister got married. There were about a gazillion things to love about her wedding day… so many moments all wrapped up into one very totally unforgotten event. I took lots of wedding photos on her wedding day and wanted to give her a surprise of making her a 3D flash wedding photo gallery with wedding songs.
As I expected, my sister was moved, many thanks she said to me. Now I just want to give my many thanks to Aneesoft 3D Flash Gallery. It is a wedding gallery making software that helped me make so gorgeous flash gallery with my sister's wedding pictures. Knowing nothing about flash making, I never thought making a splendid 3D flash gallery would be so easy. My friend, do you eager to make your own cool, awesome flash gallery now? Do you eager to sharing your wedding photos in a stunning 3D photo gallery? Let me show you the way!
What you'll need:
1. Wedding photos and wedding songs for your 3D flash gallery
2. Aneesoft 3D Flash Gallery
Step 1: Download & install Aneesoft 3D Flash Gallery
We'll be using a very nice 3D gallery making software 'Aneesoft 3D Flash Gallery' to making a romantic wedding flash gallery with wedding photos and wedding songs, head over here and download the free trial version. Next step is to install the program.
Step 2: Import wedding photos and edit
You can add up to 500 photos that you want to use in your wedding photo gallery, arrange the photos as you like. Aneesoft 3D Flash Gallery supports a wide range of file formats for images, such as .jpg, .bmp, .gif. Click "Add Caption" to add title and description for your wedding photos. And you can also crop and add special effects to them to make your wedding photos more perfect
Step 3: Choose from a variety of wedding flash gallery templates
Aneesoft 3D Flash Gallery offer you an easy way to make a stunning wedding photo gallery by choosing from variety of flash gallery templates. A flash gallery template automatically put preset decoration to wedding gallery. When you select a preset flash gallery template, you're able to enhance it by customizing some additional settings, such as background, thumbnail effects, playback options and scrolling actions. For the adventurous users, explore the powerful advanced features and tools that gives you total control over how you compose your wedding flash photo gallery.
Step 4: Add some wedding songs for your wedding flash gallery
Wedding songs are a very important factor to consider when making your wedding flash photo gallery. They set the general mood and tone for your gallery, while also allowing you to express your feelings through music. You may find the perfect wedding songs out of hundreds of popular wedding songs and music through Amazon.com or iTunes.
In this step, you can add some wedding songs as background music to play along with your wedding flash gallery. Click Add Music button to browse and add your wedding songs. You can add, remove and edit the wedding music files. And you may check the option to control the background music looping or not.
Step 5: Preview and publish your 3D wedding flash gallery
It is advisable that you preview the wedding flash gallery at least once, before you publish it. Click and drag mouse for scrolling and tilting the 3D flash gallery. Click on the thumbnail to zoom in and out the photos. You have several options to share and publish your 3D wedding photo gallery, such as SWF, EXE and HTML. It depends on your needs.
OK, now your wedding flash gallery is done. What do you think of the wedding flash gallery that I made for my sister? End with my sister's sentences "Fun is not ending, romantic is not ending, and love is just beginning!" Wish your wedding pictures can also be splendid as my sister's, and your love is just beginning, enjoy!
know more:
http://www.aneesoft.com/win-3d-flash-gallery.html
http://www.aneesoft.com/tutorials/3d-flash-gallery/make-wedding-flash-gallery-with-songs.h tmlAs for AS3 part of it, I am not sure your code really works. There are syntax and logical errors there.
I think you need to take it step by step and accomplish several task in the following sequences:
1. Write code that loads XML correctly;
2. Write code that enables buttons;
3. Write code that will load images on button clicks.
The code below shows in principal what needs to be done in order to load XML and make the data in this XML available for further consumption. Also, by accomplishing this step you will iron out all the PHP vs Flash wrinkles including your XML.
Please note, I don't know your XML structure so all the parsing issues you need to resolve yourself.
Once you get handle on it - we, hopefully, will talk about steps 2 and 3.
import flash.display.Loader;
import flash.events.*;
import flash.net.*;
var images:XML;
var myRequest:URLRequest;
var myLoader:URLLoader;
// list of image urls that will come from loaded XML
var imageList:XMLList;
myRequest = new URLRequest("Photography.php");
myLoader = new URLLoader();
myLoader.addEventListener(Event.COMPLETE, onFileLoaded);
// suggested handler for unexpected errors - avoids some headaches
myLoader.addEventListener(IOErrorEvent.IO_ERROR, onLoadError);
myLoader.load(myRequest);
// Note: all the listeners are removed
// it is always wise to remove listeners that are needed any longer
// to make objects eligible for arbage collection
function onLoadError(e:IOErrorEvent):void
trace(e.toString());
myLoader.removeEventListener(Event.COMPLETE, onFileLoaded);
myLoader.removeEventListener(IOErrorEvent.IO_ERROR, onLoadError);
function onFileLoaded(e:Event):void
myLoader.removeEventListener(Event.COMPLETE, onFileLoaded);
myLoader.removeEventListener(IOErrorEvent.IO_ERROR, onLoadError);
images = new XML(myLoader.data);
// only now xml is ready and you can start loading images
imageList= images.pic; -
How do you resize the Picture Gallery Widget? (below 279 pt)
The Picture Gallery widget works very nicely on a book, but it's way too big for my book design. I want a smaller image in the corner of the book. Something you tap on to open the picture gallery.
I can get rid of the title, the caption and the background and shrink the widget a bit, but then you go to the "metrics" section in the Inspector, and the widget will not go below a certain width or height (a potential disaster for the overall design of your book).
Bookry's widgets will not cut it either. What is the option then? Do I need to hand-code my own picture gallery widget? Good Lord..The arrows don't show up on the iPad, they are only to aid navigation within iBA. You can use boxes in the background to frame your galleries (as the background is off). I believe it's also possible to change the colour of the dots beneath the gallery too, although I forget how to do that right now.
About Apple's rigid UX – I agree that it can be frustrating. Apple intended iBA to be used by everyone, and the sort of design options and customisability we might want may confuse the less experienced user. Apple also wanted the UI for every book to be the same – from the point of view of the new user, once you've used one iBA ebook (or iBook, I'm not sure what Apple want us to call it), you can use them all. Otherwise end users would to get used to a slightly different UI on each book, which kind of works against the idea that ideally UI should be intuitive enough to be invisible. I can see the point in that. I have created a 'How to use' section in every iBA file I've made. It get's old quickly.
Oh, and (you probably know this, but…) you can choose your own custom icon for audio. It's limited, as it's only a placeholder image that allows you to play an audio file, there's no ability to pause the audio or stop it once you choose the view as thumbnail choice. Something I'd like to see changed.
Here's a link to Apple feedback page for iBA. Feel free to hammer it with your suggestions.
https://www.apple.com/feedback/ibooks-author.html -
This phone is new to me. How do I download my pictures - Gallery - to my pc?
This Galaxy III is new to me. How to I transfer pictures - Gallery - to my PC. I have over 500 now and can't get them over.
Please note I do not own your device.
The quickest way is to use the usb cable that came with the phone and connect it to the computer. The computer will show it as another drive letter. (E,F,G,H etc.) you open up that new drive letter and look for the pictures folder on the phone. you then right click on the pictures/photo folder and do a select all then choose copy, then go to the pictures folder on your computer and right click and select PASTE the photos should now be copied to the computer. (Make a new folder if you desire and call it like Photos transferred from S3) this way you know where they are located.
You can also just delete the photos from the phone you don't want via choosing them and then hit delete. -
Creating a photo gallery with photo download option
Good morning,
I need to create a page on my website where I can have a photo gallery WITH the option to download a photo, or the entire gallery. Can someone tell me, or point me to a video tutorial on how to do this?
If you are familiar with SmugMug, or Zenfolio, they have that option where I can click to download the entire gallery or a single photo, and it downloads in the form of a zipped file.
Can someone help me with this please?
Thank you,
Alex
(I would use SmugMug or Zenfolio, but my volume does not justify the cost)Welcome Alex -
Any picture you display on your site can be saved to the visitor's computer.
If you ZIP each gallery, a simple link to the zipped archive will offer the visitor
an option to save to their computer. -
Hey everybody,
I am new to flash and have three seperate but sort - of
related questions that I was hoping you guys could help me answer!
Question 1. In april, I will be putting on a "website" - its
going to be displayed live via a projector onto a projection
screen. for a small student convention, at this convention are
competitions for the students to enter, the students will be
leaving the competition through to doors (door A and door b) What
they (I) want to do is take a photograph of a student as they leave
their competition, ship the photo over to the computer holding all
the files for the site, and then 10-30 seconds after the picture
was taken I want it to be displayed live on the screen. I have the
camera's set, they automatically take a picture and send them to a
file on a computer hooked up via network. What I need is a gallery
that will display pictures randomly from four sources, - 1) stock
photos taken prior to the convention, 2) Pictures from Door A
3)pictures from Door B and 4) Advertisments created prior to the
convention. The first three sources I want to cycle through about
every 20-30 seconds, preferably with a spiffy transition from one
picture to the next with preference (at least in the case of Door A
and B) given to the newest photos taken. The fourth source (the
advertisments) I want to cycle into the gallery every 7-10 minutes
and stay on screen for 1 - 3 minutes. I can give up source 4 if
nescesary, but I would like to have it. All the pictures/ads will
be the same size.
The gallery doesnt need to be styled on the borders, I need
it to blend and be part of the page, just change images when it
needs to. I will be doing other things at the conference and cannot
baby-sit the flash gallery, is their a way to create the gallery,
and tell it to pull from the sources (call it four folders) and
rotate when needed. I know (but dont know how to make) that the
transitions elements can be set up ahead of time, but what about
the live image aspect?
Question 2 - Similar to the first, but everything will be
done ahead of time - at another point on the page I want to have
banner ads from our sponsors, I just need a gallery to cycle
through the ads at a predetermined time (i.e Ad 1 stays up for 5
minutes, while Ad 2 stays up for 2 minutes, etc)
Question 3 - Not related to the above website, I have another
page I am developing that I think could greatly benefit from the
coolness of flash. This will be a picture gallery for 2 products,
what I am envisioning is a display area for a large picture,
underneath it 2 tracks of thumbnails, click on track 1 and the
display area shows the big pictures of the thumnails in that track,
click on track 2 and it displays the big pictures of that track. It
would also be cool if it had a zoom feature and a move feature. I
know the images can be loaded in with an xml document (I think I
know this) The site will be using a database with lots of products,
I need to be able to make the XML and flash gallery work with the
database so that it can change thumnails and bigpictures according
to the database info - so when you are on product 1, you see
product 1's thumbs and bigpics. Product 2 - etc.... I can make the
XML dynamic, I just need the flash part, and make sure it pulls the
thumbs from an xml file (or other outside source that can be set to
dynamically get the info) This gallery will be styled and embeded
into a product template, and
also can't be babysat or created for each product.
I am not against buying a prebuilt option if someone knows
some good ones, I am also not against building it myself if someone
could give me some guidance as to where to go for tutorials, that
sort of thing.
Thanks for the help everybody, If you need any more info
please let me know.
-AdamWhat OS version are you running on your phone and who is your carrier? This is something that is controlled by the OS and while there is no way to change the number of thumbnails per row, some OSes have clearer thumbnails than others.
You can find your OS version under Options > About. Its the number listed after the v. (e.g. 5.0.0.713).
If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
If your issue is resolved, don't forget to click the Solution button on the resolution! -
Sending an iPhoto picture gallery to MobileMe
When synchronizing an iPhoto picture gallery to MobileMe, is there any way to filter out which pictures in the gallery you want posted. For instance, can is there a way to only upload the "flagged" photos?
don't put the photos in the iPhoto MobileMe gallery - everything in the gallery will be synced with Mobile me
LN -
Picture gallery not opening after OS upgrade
I recently bought blackberry z10 and up graded the OS to 10.2.0.424. After the upgrade I see that Picture gallery doesn't open. I tried rebooting the phone by pressing both volume keys simultaneously, but the phone won't reboot as well. Please help.
gauravrjpl wrote:
I'm sorry for not specifically mentioning the process followed. By soft reboot I meant the method you mentioned for BB10 devices. And hard reboot was pulling out the battery. What I couldn't do was to reboot using the volume keys.
Ah, OK...thanks!
gauravrjpl wrote:
Anyway, you mentioned about clean OS reload. Can you please elaborate? Can I do it myself?
Yup. For the "normal" method (automated, controlled by your carrier as far as the specific OS level you receive), refer:
http://supportforums.blackberry.com/t5/General-BlackBerry-10-Smartphone/How-to-Reload-your-Blackberr...
For the more controlled (by you, letting you decide exactly what to install) method, refer:
http://supportforums.blackberry.com/t5/BlackBerry-10-OS-Device-Software/Upgrading-OS10-devices-using...
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
XML data set picture gallery for thinkbox/lightbox/lightwindow ?
Hi, I want to do a gallery using thickbox or lightwindow or
lightbox. I have the pictures in XML file. How can I make a
pictures gallery using data set. I loaded the XML hive and I
pointed to the pictures and gave them ds1
but when I put link reference to {perspImage}
I click the link and I get new browser window not even
lightwindow. Can someone with some experience help?
(I linked all scripts, css already in the HTML and I tested
it on a single picture and it worked but I need to get a gallery
based on images in XML file) please help.
ThanksI managed to mash Spry/thickbox/jquery/XML together
http://www.stjohnhistoricalsociety.org/Photographs.htm)
several years ago. I can't really remember the details very
well - but I
had to reverse the normal sequence of thickbox magic
enhancement followed by Spry region expansion.
Maybe you are looking for
-
Deleting a component in an enhancement from SMOD
Hi, I have deleted a component in an enhancement from SMOD and activated the project in CMOD. Iam getting the expected results in developemnt system . When I transport the changes to quality , I see that component is deleted , but, the corresponding
-
I have a 15" PB G4 with a SuperDrive bought in 2003. How do I know if it is a Double-Layer SD? The reason for the question is that we had repairs done to this computer and it needed a battery firmware update. Now the batteries need to be calibrated.
-
Hi all, I want to create blob column to save my images in to display it later on in the report ,so i did the following Create directory first .... CREATE OR REPLACE DIRECTORY images AS 'C:\'; ============================================ create the ta
-
Adobe Captivate 4 - Flash Not Installed Error
We are using Adobe Captivate 4 on Windows 7. Since the Microsoft Windows Updates around January 8, we are unable to open Adobe Captivate 4. We get the message that the Flash Player is to be installed and the application shuts down after the message
-
How can I change a co-author to author i.e. owner of a form?
I have created a form in one account (as author) which I can share with others (as co-authors) but how can I remove it from the original account without deleting it - i.e. I want the co-authors ro remain authors! or nominate one co-author as author?