<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Chevereto Forum]]></title>
	<link rel="self" href="http://chevereto.com/foro/feed-atom.xml"/>
	<updated>2010-09-02T17:24:15Z</updated>
	<generator>PunBB</generator>
	<id>http://chevereto.com/foro/</id>
		<entry>
			<title type="html"><![CDATA[New Firefox Extension - Easy to create and works in FF 4]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic620-new-firefox-extension-easy-to-create-and-works-in-ff-4-new-posts.html"/>
			<summary type="html"><![CDATA[<p><span class="postimg"><img src="http://i.godlike.cl/img/extdemo.png" alt="http://i.godlike.cl/img/extdemo.png" /></span></p><br /><p>As you may notice (<a href="http://chevereto.com/foro/topic47-firefox-extension.html">http://chevereto.com/foro/topic47-firef &#133; nsion.html</a>) the current Firefox extension doesn&#039;t work on Firefox 3. So, after a little research I rewrite the code and I&#039;m here to sharew with you the new Firefox extension that works with Firefox 3.X and the earlier Firefox 4 betas. So... Lets start, it takes around 5 minutes to do it and no hard modifications, just follow the steps.</p><br /><h5><strong>First Step: The files</strong></h5><p><a href="http://code.google.com/p/chevereto/downloads/detail?name=Chevereto_right-click_2.0.xpi">Download here</a> <strong>Chevereto_right-click_2.0.<span style="color: red">xpi</span></strong> and rename it to <strong>Chevereto_right-click_2.0.<span style="color: green">zip</span></strong> then unzip it. You should get this:<br /></p><ul><li><p>chrome (folder) <em>It contains the folders &quot;content&quot; and &quot;locale&quot;</em></p></li><li><p>chrome.manifest (file) <em>This is where you add/remove lang support currently have English and Spanish</em></p></li><li><p>install.rdf (file) <em>This contains information about the extension like extension url, author, etc.</em></p></li></ul><br /><br /><h5><strong>Second Step: Edit install.rdf</strong></h5><p>In the root where you unzip the package, you get the file<strong> intall.rdf</strong> which contains general info about the extension... You should edit only between lines 6 to 9. Example, this lines are editable:<br /></p><div class="quotebox"><blockquote><p>&lt;em:name&gt;Example right-click&lt;/em:name&gt;<br />&lt;em:version&gt;1.0&lt;/em:version&gt;<br />&lt;em:creator&gt;Mr. Example&lt;/em:creator&gt;<br />&lt;em:homepageURL&gt;http://www.example.com&lt;/em:homepageURL&gt;</p></blockquote></div><p>Btw, you can also edit line 4 and put your own e-mail... Example:<br /></p><div class="quotebox"><blockquote><p>&lt;em:id&gt;me@example.com&lt;/em:id&gt;</p></blockquote></div><p>So compare this examples with what you get on the original install.rdf and you will be on your way.</p><br /><br /><h5><strong>Third Step: chrome.manifest</strong></h5><p><em>If you want your extension in English or Spanish then skip this step. The rest of the people please read.</em></p><p>In this step we will add lang suport to the extension. To do that simply open <em><strong>chrome.manifest</strong></em> and add your language, one per line. Example:<br /></p><div class="quotebox"><blockquote><p>content&nbsp; &nbsp;godlikea&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;chrome/content/<br />locale&nbsp; &nbsp; godlikea&nbsp; &nbsp;en-US&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;chrome/locale/en-US/<br />locale&nbsp; &nbsp; godlikea&nbsp; &nbsp;es-ES&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;chrome/locale/es-ES/<br /><span style="color: blue">locale&nbsp; &nbsp; godlikea&nbsp; &nbsp;ru-RU&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;chrome/locale/ru-RU/</span></p><p>overlay&nbsp; &nbsp;chrome://browser/content/browser.xul&nbsp; &nbsp;chrome://godlikea/content/overlay.xul</p></blockquote></div><p>In blue I have added Russian language.... So go to <strong>chrome/locale/</strong> and you will see the folders &quot;en-US&quot; y &quot;es-ES&quot;. Copy one of then an rename to &quot;ru-RU&quot;.</p><br /><h5><strong>Four Step: Contex menu text</strong></h5><p>Go to&nbsp; <strong>chrome/locale/</strong> and for each language edit the contains of <strong>overlay.dtd</strong> that is inside of &quot;en-US&quot; or in this example &quot;ru-RU&quot;:<br /></p><div class="quotebox"><blockquote><p>&lt;!ENTITY godlikeaUp.label &quot;Отправить в EXAMPLE&quot;&gt;<br />&lt;!ENTITY godlikeaRup.label &quot;Загрузить и изменить размер на EXAMPLE&quot;&gt;</p></blockquote></div><p><em>PS: Google translate... Sorry Russian friends if is a wrong translation.</em><br />This two lines contains the text that the user will see when he righ-click on an image.</p><br /><br /><h5><strong>Five Step: Point the Chevereto&#039;s URL</strong></h5><p>Go to <strong>chrome/content</strong> and open <strong>Overlay.js</strong> then just edit the line 3 pointing your chevereto&#039;s url:<br /></p><div class="quotebox"><blockquote><p>Chevereto: &quot;<span style="color: blue"><a href="http://www.example.com">http://www.example.com</a></span>&quot;, /* NO ENDING SLASH! - SIN SLASH AL FINAL */</p></blockquote></div><p>Notice: No ending slash...</p><br /><br /><h5><strong>Six Step: Icons</strong></h5><p>if you want your own icons to be shown in the extensions menu and in the context menu... Then go to: <strong>chrome/content</strong> and replace <strong>favicon.png</strong> with a 16x16 png image and <strong>icon.png</strong> with a 32x32 png image.</p><br /><br /><h5><strong>Final Step: &quot;Compile&quot; the .xpi</strong></h5><p>So, save all the changes and then go to the root where you have <strong>chrome folder</strong>, <strong>chrome.manifest</strong> file and <strong>install.rdf</strong> Select them all and then zip it. Once you get something like <strong>myfile.<span style="color: red">zip</span></strong> rename it to <strong>myfile.<span style="color: green">xpi</span></strong> or some. And yes.. It must be ZIP, no rar, ace or some other formats. JUST ZIP!</p><br /><p>Then you have it, open the xpi file with Firefox and test!</p>]]></summary>
			<author>
				<name><![CDATA[fdls4all]]></name>
				<uri>http://chevereto.com/foro/user2.html</uri>
			</author>
			<updated>2010-09-02T17:24:15Z</updated>
			<id>http://chevereto.com/foro/topic620-new-firefox-extension-easy-to-create-and-works-in-ff-4-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Upload multiple files at the same time]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic605-upload-multiple-files-at-the-same-time-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hello!</p><p>Does someone know how can I change the configuration of my uploader for uploading 2 files at the same time.<br />Like that :</p><p><span class="postimg"><img src="http://img801.imageshack.us/img801/903/morefiles.png" alt="http://img801.imageshack.us/img801/903/morefiles.png" /></span></p><p>Thanks,<br />Dylan.</p>]]></summary>
			<author>
				<name><![CDATA[Haricoow]]></name>
				<uri>http://chevereto.com/foro/user947.html</uri>
			</author>
			<updated>2010-09-02T09:17:38Z</updated>
			<id>http://chevereto.com/foro/topic605-upload-multiple-files-at-the-same-time-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Chevereto Script Turkish Button (Türkçe Buton)]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic633-chevereto-script-turkish-button-tuerkce-buton-new-posts.html"/>
			<summary type="html"><![CDATA[<p><span class="postimg"><img src="http://demo.chevereto.com/images/btnsubir.gif" alt="http://demo.chevereto.com/images/btnsubir.gif" /></span><br /><span class="postimg"><img src="http://demo.chevereto.com/images/preferenci.gif" alt="http://demo.chevereto.com/images/preferenci.gif" /></span><br /><span class="postimg"><img src="http://demo.chevereto.com/images/tabs.png" alt="http://demo.chevereto.com/images/tabs.png" /></span><br /><span class="postimg"><img src="http://demo.chevereto.com/images/btnred.gif" alt="http://demo.chevereto.com/images/btnred.gif" /></span></p><br /><br /><p>coming soon: script turkish version<br />çok yakında: script türkçe versiyon</p><br /><p>abduLkaradeniz. <br />yardım/suppport= abdulkaradeniz@w.cn</p>]]></summary>
			<author>
				<name><![CDATA[Webmas'TR']]></name>
				<uri>http://chevereto.com/foro/user992.html</uri>
			</author>
			<updated>2010-09-01T15:21:03Z</updated>
			<id>http://chevereto.com/foro/topic633-chevereto-script-turkish-button-tuerkce-buton-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[extension chrome]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic622-extension-chrome-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Alguien puede hacerla?</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user728.html</uri>
			</author>
			<updated>2010-08-31T20:16:12Z</updated>
			<id>http://chevereto.com/foro/topic622-extension-chrome-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Working on new Admin plug-in with SQLITE database option]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic618-working-on-new-admin-plugin-with-sqlite-database-option-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hey everyone,<br />I wanted to first say hi and to express how much I like this script!<br />I was looking for an alternative to tinypic.com to avoid all the ads, etc. and really wanted an API to hook to, but I found this instead and really like it.</p><p>I decided to take a look at the forums and it&#039;s sad to see no big development contributions have been made to it.<br />I took a look at the Admin-panel plug-in by SunLord and noticed some requests for sqlite, which I myself agree with considering how small of a script it is and believe it to be unnecessary to clutter up a MySQL server with this.</p><p>After diving into the code for the admin plug-in, I realized there really needs to be some pretty big revisions/rewrites done to it and so I&#039;m taking on that task.<br />I&#039;ll be using PHP&#039;s <strong>PDO</strong> extension, which means the minimum requirement is <strong>PHP 5.1.0</strong>, and offering both MySQL/SQLITE database options so you can choose which one to use.</p><p>I also intend to eventually implement an <strong>API</strong> as part of this project so users can write apps for other projects that can upload/post new images and get a response back regarding the information about the new image.<br />I&#039;ll also add post-upload image resizing so you can choose to create additional sizes of a previously uploaded image and not have to re-upload it again.</p><p>There&#039;s sure to be other ideas along the way, but there&#039;s just a few of them for now.&nbsp; I&#039;m open to ideas as well, but my goal is to stick to keeping things simple.</p><p>Thanks again for the awesome script!</p>]]></summary>
			<author>
				<name><![CDATA[amereservant]]></name>
				<uri>http://chevereto.com/foro/user985.html</uri>
			</author>
			<updated>2010-08-31T18:34:22Z</updated>
			<id>http://chevereto.com/foro/topic618-working-on-new-admin-plugin-with-sqlite-database-option-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[5 new features comming in the commercial version]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic532-5-new-features-comming-in-the-commercial-version-new-posts.html"/>
			<summary type="html"><![CDATA[<p>As you may know, <a href="http://chevereto.com/foro/topic511-cambios-importantes-big-changes.html">we are preparing a commercial version</a> of Chevereto from scratch. We are pleased to announce 5 of the almost 20 new mayor features.</p><p><strong>1. User accounts</strong><br />Now the users can create their own accounts, manage and edit their images, etc.</p><p><strong>2. Admin panel</strong><br />Allows you to manage all the uploaded images, users, general options, and a huge etc.</p><p><strong>3. Folder managment</strong><br />This is about handling directory trees to the uploaded images. It helps performance since the images are uploaded in a bunch of folders and not just one endless directory. This also includes set up the max disk usage.</p><p><strong>4. Skins</strong><br />This is one of the most interesting new features and it&#039;s definitely a must have and yes.. We are not going to use smarty. The theme support will be most likely in the wordpress way with full custom php and easy power customization. And the script will be included with 2 skins: 1. A legacy skin (pretty similar to the actual look) + 2. A re-maked up new skin.</p><p><strong>5. Multi-upload</strong><br />Did you think that we miss that? Multi upload will finally meets Chevereto!</p><br /><p>That&#039;s just a small preview, we have a full set up of new functions including.... Well, I will not tell!</p><p>If you feel curious about the new features or if we will include something that is not listed, feel free to ask.</p><p>Regards</p>]]></summary>
			<author>
				<name><![CDATA[Xampy5]]></name>
				<uri>http://chevereto.com/foro/user2.html</uri>
			</author>
			<updated>2010-08-30T19:48:06Z</updated>
			<id>http://chevereto.com/foro/topic532-5-new-features-comming-in-the-commercial-version-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[WORKING Lightbox style gallery]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic520-working-lightbox-style-gallery-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hey guys Im new here, and ive figured out my way around chevereto pretty fast, I was trying to figure out how to implement my own gallery for the longest time but i was never able to figure out how to get one working and also keep my template on the page.</p><p>so I took the Index.php for chevereto, and I cleared out anything that wasn&#039;t the template, and just left a div in the middle for inserting PHP scripts I downloaded from the web. so without any further ado heres a demo</p><p><a href="http://imgshared.com/gallery.php">http://imgshared.com/gallery.php</a></p><p>and the download link</p><p><a href="http://www.multiupload.com/2OYVE94CMO">http://www.multiupload.com/2OYVE94CMO</a></p><p>IMPORTANT</p><p>Here are the instructions.</p><p>First your going to download and extract the files with winrar, or 7zip, or whatever you choose.</p><p>you are left with a gallery.php file and a phpgallery folder, all you have to do is upload both files to the root of your image host.<br />then edit gallery.php and find this line:</p><p>GalleryFolder=&quot;images&quot;</p><p>change images to wherever your images are saved.</p><p>next open your index.php file, and add to the very bottom a link to your gallery.</p><p>for example put this in the footer:</p><p>&lt;a href=&quot;gallery.php&quot;&gt;Gallery&lt;/a&gt;</p><p>and thats all guys! I hope you enjoy this, the script is NOT coded by me, have a look at the licence in the phpgallery folder for more information.</p><p>you can contact me for support at </p><p>AIM: topmassprod</p><p>MSN: topmass@live.com</p><p>and if anyone wants the &quot;Blank&quot; template only PHP file with a div for putting your own scripts, let me know and Ill post that here aswell.</p>]]></summary>
			<author>
				<name><![CDATA[jmack549]]></name>
				<uri>http://chevereto.com/foro/user809.html</uri>
			</author>
			<updated>2010-08-30T18:38:48Z</updated>
			<id>http://chevereto.com/foro/topic520-working-lightbox-style-gallery-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[TinyURL bug]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic621-tinyurl-bug-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hi,</p><p>I run myself a small &quot;URL shortening&quot; service like TinyURL.com which also has an API feature and so I tried to use that chevereto feature with my website and that&#039;s how I noticed a bug that otherwise would be very hard to notice. Regardless of the preference&#039;s box is checked or not, the short URL is always created. The only difference is that with the box unchecked the short URL is not shown below the image, but it&#039;s created at my website (as it is at TinyURL.com).</p><p>Regards.</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user988.html</uri>
			</author>
			<updated>2010-08-30T02:08:23Z</updated>
			<id>http://chevereto.com/foro/topic621-tinyurl-bug-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Tiny bug fix]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic619-tiny-bug-fix-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hello! Just open your <strong>engine.php</strong> and go to line <span style="color: red">793</span>~, or if your <span class="bbu">engine.php</span> file is shorter than 500 lines, then look for this (it&#039;s almost at the end of the file in both cases):<br /></p><div class="codebox"><pre><code>                $title = SEEING.&#039; &#039;.$id; 
                $titulo = $id.&#039; &#039;.AT.&#039; &#039;;</code></pre></div><p>then change it by:<br /></p><div class="codebox"><pre><code>                $titulo = SEEING.&#039; &#039;.$id.&#039; &#039;.AT.&#039; &#039;;</code></pre></div><p>Resuming, you must delete the line that contains <strong>$title</strong> and overwrite the line that has the<strong> $titulo</strong> variable by the mentioned above.</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user981.html</uri>
			</author>
			<updated>2010-08-30T01:18:39Z</updated>
			<id>http://chevereto.com/foro/topic619-tiny-bug-fix-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Firefox extension]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic47-firefox-extension-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Con esto van a conseguir una extensión funcional en su chevereto, la cual permitirá subir/redimensionar imágenes ya existentes en la web. Afortunadamente no es complicado ya que nos basamos en la antigua extensión existente para godlike.cl</p><p>Realizar la extensión es muy simple, solo deben seguir los siguientes pasos:</p><p><strong>1. Bajar la extension en la cual nos basaremos</strong></p><p>-&gt; <a href="http://chevereto.com/DEV_Chevereto_1.0.xpi">http://chevereto.com/DEV_Chevereto_1.0.xpi</a></p><p><strong>1.1 Cambiar la extension de .xpi a .zip y descomprimir</strong></p><p>Obtendran dos archivos y una carpeta.</p><p><strong>2. Editar los archivos install.js e install.rdf a medida.</strong></p><p>No editables en instal.js:</p><div class="codebox"><pre><code>const APP_JAR_FILE = &quot;godlikea.jar&quot;;

const APP_CONTENT_FOLDER = &quot;content/godlikea/&quot;;

const APP_LOCALE_FOLDER  = &quot;locale/es-ES/godlikea/&quot;;</code></pre></div><p>No editables en instal.rdf:</p><div class="codebox"><pre><code>    &lt;em:file&gt;

      &lt;Description about=&quot;urn:mozilla:extension:file:godlikea.jar&quot;&gt;

        &lt;em:package&gt;content/godlikea/&lt;/em:package&gt;

        &lt;em:locale&gt;locale/es-ES/godlikea/&lt;/em:locale&gt;

      &lt;/Description&gt;

    &lt;/em:file&gt;</code></pre></div><p><em>En ambos casos si pueden realmente editar, pero tendrían que cambiar más cosas, que a la larga no es necesario</em></p><p><strong>3. Descomprimir el archivo godlikea.jar que esta en la carpeta &#039;chrome&#039;</strong></p><p>Obtendran 2 carpetas: content y locale.</p><p><strong>3.1 Editar en &#039;chrome/locale/es-ES/godlikea/godlikea.dtd&#039;</strong></p><p>En locale/es-ES/godlikea encontraran dos archivos &#039;contents.rdf&#039; y &#039;godlikea.dtd&#039;. Deben editar &#039;godlikea.dtd&#039; a medida. Es el archivo que establecerá el texto en el menu contextual.</p><p><strong>3.2 Editar en &#039;chrome/content/godlikea&#039;</strong></p><p> - contents.rdf -&gt; Información de la extensión.</p><p> - godlikeaOverlay.js -&gt; En la linea &#039;49&#039; y &#039;65&#039; deben poner la url de su chevereto.</p><p> - godlikeicon.png -&gt; Un icono en png de 16x16 (saldrá en el menú contextual)</p><p> - godlikeicon32.png -&gt; Un icono en png 32x32 que saldrá cuando instalen, cuando vean el complemento en herramientas, etc.</p><p><strong>4. Comprimir las carpetas &#039;content&#039; + &#039;locale&#039; en .zip y renombrar a &#039;godlikea.jar&#039;</strong></p><p>Ya pueden eliminar las carpetas &#039;content&#039; y &#039;locale&#039;.</p><p><strong>5. Comprimir la carpeta raiz&nbsp; todo el contenido&nbsp; (&#039;chrome&#039;+&#039;install.js&#039;+&#039;install.rdf&#039;) en un .zip</strong></p><p>Posteriormente cambiar el nombre a &#039;Nombre_extension.xpi&#039;.</p><p><strong><span style="color: #FF0000">*Importante*</span> Estructura de la extensión</strong></p><p>- Extension.xpi (que es un .zip) debe contener:</p><p>&nbsp; - Capera chrome</p><p>&nbsp; - install.rdf</p><p>&nbsp; - install.js</p><p>- La caperta chrome debe contener</p><p>&nbsp; - godlikea.jar (que es un .zip) debe contener:</p><p>&nbsp; &nbsp; - content</p><p>&nbsp; &nbsp; - locale</p><p>Deben respetar esa estructura, si no.. No funciona.</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user2.html</uri>
			</author>
			<updated>2010-08-29T23:03:01Z</updated>
			<id>http://chevereto.com/foro/topic47-firefox-extension-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[Fixed] Can't resize BMP images / No se puede redimensionar imagen BMP]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic615-fixed-cant-resize-bmp-images-no-se-puede-redimensionar-imagen-bmp-new-posts.html"/>
			<summary type="html"><![CDATA[<p><strong>//English...</strong><br />Hello! Thank you Rodolfo for keep this great upload tool for free (at least until now <img src="http://chevereto.com/foro/img/smilies/tongue.png" width="15" height="15" alt="tongue" />). It&#039;s the best image upload tool that I&#039;ve ever seen with jquery.</p><p>Well, here&#039;s my problem: when I want to upload an image of type BMP, it uploads correctly. But if I want upload it chaging it&#039;s size (with the &quot;resize image&quot; tool from the web) then it uploads the image with type BMP but with errors, the image can not show correctly.</p><p>I know where&#039;s the error, I&#039;ve tried to solve it, but I didn&#039;t win nothing.</p><p>The error is in <strong>engine.php</strong>, just below this:<br /></p><div class="quotebox"><blockquote><p><span style="color: RED">// LINE 510</span> if ($tipo==jpg) {<br /><span style="color: RED">// LINE 511</span> &nbsp; &nbsp; $src = imagecreatefromjpeg($target);<br /><span style="color: RED">// LINE 512</span> }</p></blockquote></div><p>there must be:<br /></p><div class="codebox"><pre><code>if ($tipo==bmp) {
                    $src = imagecreatefromBMP($target);
                }</code></pre></div><p>But that function doesn&#039;t exist, I found one in the php.net forum but it doesn&#039;t work fine with this.</p><p>Thanks.</p><br /><p>//<br /><strong>//Español...</strong><br />Hola!Gracias Rodolfo por mantener esta gran herramienta de subida de imagenes de forma gratuita (por lo menos hasta ahora <img src="http://chevereto.com/foro/img/smilies/tongue.png" width="15" height="15" alt="tongue" />). Es la mejor herramienta para subir imagenes (via web) que jamás haya visto con la libreria jquery implementada.</p><p>Bien, aqui esta mi problema: cuando quiero subir una imagen de tipo BMP, se sube correctamente. Pero si la quiero subir cambiandole el tamaño (con el &quot;resize image&quot; de la web) entonces se sube la imagen en el formato BMP pero con errores, no se puede ver la imagen.</p><p>Se donde esta el error, he intentado solucionarlo, pero no he conseguido nada.</p><p>El error esta en <strong>engine.php</strong>, debajo de:<br /></p><div class="quotebox"><blockquote><p><span style="color: RED">// LINEA 510</span> if ($tipo==jpg) {<br /><span style="color: RED">// LINEA 511</span> &nbsp; &nbsp; $src = imagecreatefromjpeg($target);<br /><span style="color: RED">// LINEA 512</span> }</p></blockquote></div><p>deberia de haber un:<br /></p><div class="codebox"><pre><code>if ($tipo==bmp) {
                    $src = imagecreatefromBMP($target);
                }</code></pre></div><p>Pero esa funcion no existe, encontre una en el foro de php.net pero no funciona bien con esto.</p><p>Gracias!</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user981.html</uri>
			</author>
			<updated>2010-08-29T20:43:56Z</updated>
			<id>http://chevereto.com/foro/topic615-fixed-cant-resize-bmp-images-no-se-puede-redimensionar-imagen-bmp-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Remote uploading not working.]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic311-remote-uploading-not-working-new-posts.html"/>
			<summary type="html"><![CDATA[<p>I am having trouble uploading images from the internet..<br />I get these errors:</p><p>Warning: imagecreatefromstring() [function.imagecreatefromstring]: Empty string or invalid image in /home/www/fotolen.com/engine.php on line 278</p><p>Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/www/fotolen.com/engine.php on line 283</p><br /><p>Anyone got any ideas why?</p><br /><p>Peder.</p>]]></summary>
			<author>
				<name><![CDATA[Xampy5]]></name>
				<uri>http://chevereto.com/foro/user515.html</uri>
			</author>
			<updated>2010-08-29T13:40:24Z</updated>
			<id>http://chevereto.com/foro/topic311-remote-uploading-not-working-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[Fixed] Error when uploading heavy images]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic617-fixed-error-when-uploading-heavy-images-new-posts.html"/>
			<summary type="html"><![CDATA[<p>// English...</p><p>Hello! When I try to upload an image that is bigger than the allowed size (in megabytes, not pixels), it shows to me this error:<br /></p><div class="codebox"><pre><code>Invalid file type, allowed JPG, PNG, GIF and BMP</code></pre></div><p>instead of:<br /></p><div class="codebox"><pre><code>The file is too heavy</code></pre></div><p>// Español...</p><p>Hola! Cuando intento subir una imagen de la cual su tamaño (en megabytes, no pixels) es mayor de lo permitido, me enseña este error:<br /></p><div class="codebox"><pre><code>Invalid file type, allowed JPG, PNG, GIF and BMP</code></pre></div><p>en lugar de:<br /></p><div class="codebox"><pre><code>The file is too heavy</code></pre></div>]]></summary>
			<author>
				<name><![CDATA[Xampy5]]></name>
				<uri>http://chevereto.com/foro/user981.html</uri>
			</author>
			<updated>2010-08-29T05:35:49Z</updated>
			<id>http://chevereto.com/foro/topic617-fixed-error-when-uploading-heavy-images-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Watermarking]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic555-watermarking-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hello,</p><p>I wanted to know how to add a watermark image in the preferences of the script.<br />Please if anyone can help me with this, i will be thankful.</p><p>thank you</p>]]></summary>
			<author>
				<name><![CDATA[kiroleg]]></name>
				<uri>http://chevereto.com/foro/user849.html</uri>
			</author>
			<updated>2010-08-25T22:13:34Z</updated>
			<id>http://chevereto.com/foro/topic555-watermarking-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic407-critital-error-invalid-domscript-edit-it-manually-in-configphp-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hello!<br />I have just download the image host Chevereto but when i upload this on <a href="http://www.xhost.altervista.org/">http://www.xhost.altervista.org/</a> is appared this error:</p><p><strong>Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php</strong></p><p>I have readed the readme.txt and have sobstitueted the PATH_SERVER as was advise on the help guide but the error persist<br />My config.php is:<br /></p><div class="codebox"><pre><code>&lt;?

/* -----------------------------------------

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.7 (29/10/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  &lt;inbox at rodolfoberrios dot com&gt;

  ----------------------------------------- */

// Language //
define(&#039;LANG&#039;, &#039;it&#039;); // en - English | it - Italiano | es - Español | fa - Farsi | fr - Français | nl - Dutch | cn - ZH-CN (Chinese)

define(&#039;APP_NAME&#039;, &#039;Image Hosting&#039;); // Your image hosting name
define(&#039;TAG_LINE&#039;, &#039;Image Hosting&#039;); // Your tagline (for doctitles and logo)

// Folders //
/* If you change this, you also must change the folders name. */
define(&#039;DIR_UP&#039;,&#039;up/&#039;);
define(&#039;DIR_IM&#039;,&#039;images/&#039;); // Change this to have something like /X/filename.jpg - where &quot;X/&quot; is the folder name. 
define(&#039;DIR_WORKING&#039;,DIR_UP.&#039;working/&#039;);
define(&#039;DIR_TEMP&#039;,DIR_UP.&#039;temp/&#039;);
define(&#039;DIR_TH&#039;,&#039;thumbs/&#039;);

// Min-Max values -&gt; php.ini rules the nation... //
$max_mb = &#039;2&#039;; // Max. image size (Mbytes)
$max_by = $max_mb*1048576; // (bytes)
$max_name = &#039;10&#039;; // Max. file name lenght.

// Thumbs //
$mini_ancho = &#039;200&#039;; // Thumb width (pixels)
$mini_alto = &#039;200&#039;; // Thumb height (pixels)

// Resize //
$lowres = &#039;16&#039;; // Min. resize value (pixels)
$higres = &#039;1280&#039;; // Max. resize value (pixels)

// Options //
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = true; // false: Debug OFF - true: Debug ON.
$cut_url = true; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = &#039;tinyurl&#039;; // tinyurl
$cut_url_user = true; // If $cut_url = true -&gt; true: Allows your users to cut their urls (preference) - false: Users can&#039;t choose to cut or not.
$allow_over_resize = false; // true: Allows over resize images - false: Don&#039;t allow over resize.


///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can&#039;t run) ////
///////////////////////////////////////////////////////////////////

// SERVER ///
/* We get this values with $_SERVER. If your server doesn&#039;t resolve this values The script will not work.
   If the script doesn&#039;t work, you must change this values to be like values in the comments (see the exaple below) */

$DOM_SCRIPT = &#039;xhost.altervista.org&#039;; // --&gt; mysite.com
$PATH_SERVER = &#039;/public_html&#039;; // --&gt; /public_html (pssst.. NO ENDING SLASH!)


// FTP MODE //
/* Use this if you want to upload the files through ftp php (http://php.net/ftp). This is handly when your server config don&#039;t
   allow to upload files without CHMOD 777, like almost all the cPanel. Using this, you can forget the CHMOD ;) */
$use_ftp = false; // true: Uses ftp to upload files - false: Upload without ftp.
$ftp_host = $DOM_SCRIPT; // Change this if your ftp host is not the same as your mysite.com -- example: $ftp_host = &#039;ftp.mysite.com&#039;;
$ftp_user = &#039;&#039;; // valid username.
$ftp_pass = &#039;&#039;; // Valid password.
// NOTICE: FTP user must have access to the script folder.


///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////

// PATH //
/* Uhhh.. Can&#039;t touch this!. */
$path = dirname($_SERVER[&#039;PHP_SELF&#039;]);
if (strlen($path)&gt;1) { 
    define(&#039;PATH_SCRIPT&#039;, $path.&#039;/public_html&#039;);
} else {
    define(&#039;PATH_SCRIPT&#039;, $path);
}

// URL //
/* Uhhh... Uhhh.. Can&#039;t touch this!. */
define(&#039;URL_SCRIPT&#039;, &#039;http://www.xhost.altervista.org/&#039;.$DOM_SCRIPT.PATH_SCRIPT);

?&gt;</code></pre></div>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user641.html</uri>
			</author>
			<updated>2010-08-25T18:10:53Z</updated>
			<id>http://chevereto.com/foro/topic407-critital-error-invalid-domscript-edit-it-manually-in-configphp-new-posts.html</id>
		</entry>
</feed>
