Hello,
I don't know if my question is out of topic...so I apologize if I am.
I use the coppermine picture gallery for my web (actually I want to use it
but the server doesn't seem to have GD running but I will beg them to
activate it). How can I actually find out if GD is installed? I tried to use
phpinfo() and I searched for a GD entry, but no one was there, so can I be
sure, that GD isn't installed? (Because the admins of the webhosting told me
that it IS installed.)
But the actual question is:
I've got an old web gallery with descriptions of the pictures. I'd now like
to transform this into the new gallery - I don't mind uploading the pictures
again, but I am really horrified by the idea of entering all that
description text again for all those pictures. So I was asking myself, if it
was possible to take the descriptions somehow out of all those html-files
and insert them automatically as comments (the coppermine gallery is able to
receive comments to the pictures) to the coppermine picture gallery. Do you
know if there's a way to do this or is it just impossible? The text could,
instead of as a comment, also just be added as text below the picture (I'd
even prefer this solution).
The original html-files are just very simple (some thumbnails, then the
picture, below the text...).
Thank you for your reply!
Simone 1 2578
Simone Winkler wrote: Hello,
I don't know if my question is out of topic...so I apologize if I am.
I use the coppermine picture gallery for my web (actually I want to use it but the server doesn't seem to have GD running but I will beg them to activate it). How can I actually find out if GD is installed? I tried to use phpinfo() and I searched for a GD entry, but no one was there, so can I be sure, that GD isn't installed? (Because the admins of the webhosting told me that it IS installed.)
Maybe it is installed, but PHP is not compiled against it.
if you use phpinfo() you SHOULD see it.
Check the 'Configure Command' part and see if GD is in there.
As far as I know it should also appear in the list that follows under GD.
make a script, callit testgd.php, and put this into it:
<?php
header("Content-type: image/png");
$im = @imagecreate(25 0, 100) or die("Cannot Initialize new GD image
stream");
$background_col or = imagecoloralloc ate($im, 100, 100, 100);
$text_color = imagecoloralloc ate($im, 0, 255, 255);
imagestring($im , 10, 5, 5, "GD is working, Simone!", $text_color);
imagepng($im);
imagedestroy($i m);
?>
Call it.
It should return an image (png)
If that doesn't work, ask your provider for an explaination.
If the provider keeps saying it is working, switch provider. But the actual question is: I've got an old web gallery with descriptions of the pictures. I'd now like to transform this into the new gallery - I don't mind uploading the pictures again, but I am really horrified by the idea of entering all that description text again for all those pictures. So I was asking myself, if it was possible to take the descriptions somehow out of all those html-files and insert them automatically as comments (the coppermine gallery is able to receive comments to the pictures) to the coppermine picture gallery. Do you know if there's a way to do this or is it just impossible? The text could, instead of as a comment, also just be added as text below the picture (I'd even prefer this solution).
The original html-files are just very simple (some thumbnails, then the picture, below the text...).
What you really need is a simple database.
I cannot help you with a script to extract all the descriptions out of a
HTML-page. That might be a bit complicated, but it can be done.
My advise is: Use a database, it isn't complicated.
Regards,
Erwin Moller Thank you for your reply!
Simone This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: matt |
last post by:
I have compiled some code, some written by me, some compiled from
various sources online, and basically i've got a very simple flat file
photo gallery. An upload form, to upload the photos and give them a
caption, storing the caption and filename in a text file. It's a bit
buggy when removing the photos and captions from the file, and also in
displaying them on the delete page. you can see it in action at
www.4am.com.au/gallery/upload.php...
|
by: Jan Schmidt |
last post by:
Hi NG,
i created my own Picture Gallery, which reads the EXIF Data of each Picture
before displaying on website.
I'd like to give my users the ability to alter some opened EXIF Values.
It would reduce the Traffic, because users don't need to upload the whole
Picture because of an missing, or bad Value of EXIF Data.
But i still can't find a solution to write EXIF Data via php...
I mean reading with php is no problem, but for writing...
|
by: Neo-LISPer |
last post by:
Hey
Recently, I researched using C++ for game programming and here is what
I found:
C++ game developers spend a lot of their time debugging corrupted
memory. Few, if any, compilers offer completely safe modes.
Unsurprisingly, there is a very high failure rate among projects using
C++ for modern game development.
|
by: Martin Brunner |
last post by:
Hello!
I tested several picture galleries now but I didn't find anyone I like.
It should be very simple (just login and upload) but it should be able
to rezise pictures. You specify a value for the max height and max width
and depending if the hight or width is more the picture will be rezised
so that it fits into the gallery thumnails even if it was taken 90°
rotated.
|
by: Lyn |
last post by:
What is the best way to import a picture (bmp format) via VBA from a Windows
file and embed it into a Bound Object Frame (and thence to an OLE Object in
a table)?
I found an MS knowledge base article (205635) on the subject, but it uses VB
(CreateEmbed method) rather than VBA. I can't find any similar method in
VBA.
A couple of related questions:
| |
by: VB Programmer |
last post by:
I am creating an online, interactive, art gallery using ASP.NET.
I want the user to be able to select (1) a frame type & size, (2) a matte
type & color and (3) a picture. I will then display what it would look like
together and they can purchase it online. It's kind of like an interactive
framining page.
What do you suggest is the best way to dynamically switch these looks?
There could be literally hundreds of combinations.
|
by: Jim Carlock |
last post by:
I have over a hundred pictures I would like to present.
Is it practical to create and parse an array of pictures,
picture paths, et al using server-side scripting to
accomplish this?
I created an array already, and whereby, the HTML and Javascript
currently used amount to about 14KB for each of four different
pages, the PHP page I started working on is already over 35KB in
size (most of it is server side processing creating the array...
|
by: rakuntal |
last post by:
hi friends can u tell me how to create a picture gallery in asp,net 2.0 in c#?
thankyou
|
by: chadmathbiz |
last post by:
Hello, and nice to meet all of you:
My name's Chad, and I have a head-bashing problem. I built out a photo gallery with very specific mouseover/onclick etc. behaviors. It works fine in Firefox. (The code is embarassingly un-elegant, please forgive a newbie!) Here's a URL:
http://www.carlygaebe.com/pictures_polaroid_02.html#_self
(all the relevant Java is in the document)
Features:
- thumbnail mouseover images
- thumbnail onclick...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |