Other Forums Support > General Thai Support vBulletin

[Mod] Auto resize large image

(1/8) > >>

NUTKABPOM:
คุณ BlackCell ขอมาก็จัดไป

ไม่รู้ใช้ได้ป่าวน่ะครับ โค๊ตมันน้อยกว่าใน vB.org อ่ะ

http://www.vbulletin.org/forum/showthread.php?t=117674


In fact this is a work around for the auto resize feature to work with the WYSIWYG editor.

Step1. In includes/class_bbcode.php

Find (in line around 18xx):


--- โค้ด: ---return '<img src="' .  $link . '" border="0" alt="" />';
--- ปิดโค้ด ---

Replace with:


--- โค้ด: ---return '<img src="' . $link . '" onload="if(largerThan(this.width,700)) {this.width=700;this.alt=\'Click here to see a large version\';}" onmouseover="if(this.alt) this.style.cursor=\'pointer\';" onclick="if(this.alt) window.open(\'' . $link . '\');" border="0" />';
--- ปิดโค้ด ---


Step2. Modify the common template of your template set

Add this to the headinclude section:


--- โค้ด: ---<script type="text/javascript">
function largerThan(a,b)
{
return a>b;
}
</script>
--- ปิดโค้ด ---

mahi01:
The Canon, the famous brand has everything in it's variety starting from their cameras, to cinematography solutions to the scanner as well as printers – each single thing has its own specific productivity.Download from https://chcanonijsetup.com and setup on your device. Canon printers  are all in one printer that facilitates print, copy and scan. The canon printers are designed for personal as well as business use.

mahak12345:
Canon.com ijsetup offers the Printer  Setup download link where you can install the printer setup further. canon.com/ijsetup With the online, Canon.com ijsetup - Click download and start the   canon ij setup downloading. On the completion, double-tap on the downloaded file and start installation. canon.com/ijsetup  Canon IJ does not come with the Manual CD for the installation of printer drivers. Canon is one of the well-known brands for gadgets like printers, cameras, and many more devices, canon.com/ijsetup  but the best of them is the Canon wireless printer as they are multi-functional and have broad features in their applications.  canon.com/ijsetup The steps to download and install a canon printer driver are available at and go-ahead to get your canon printer software now. 123.hp.com/setup allows the users to set up their printers with the help of a printer setup link. 123.hp.com/setup Here you can install all the important software and drivers which you need for the printer. 123.hp.com/setup When you connect your HP printer with your PC for the first time, your system needs to install HP drivers to the setup printer. 123.hp.com/setup The drivers will help the printer to accept the commands from the device and work accordingly.

mahak12345:

The Canon printer enhances scan functionality, and includes a robust security feature set. ij.start.canon Using a Canon printer service phone, you can get a full installation of the  printer and go to the installed  Canon printer to download the   driver. To get more and more information, canon.com/ijsetup visit our website  and get the information according to convenience .On Windows and MAC detailed guide for canon.com/ijsetup series printer with help of  a quick responsive information. the user can set up   the Canon Printer Model. ij.start.canon When you do connect the Canon printer into your pc, your system does not need to install the driver on it.  canon.com/ijsetup Click download and start the canon  ij setup downloading. On the completion, double-tap on the downloaded file and start installation.  ij.start.canon Canon IJ does not come with the Manual CD for the   installation of printer drivers. You can visit the canon.com/ijsetup website to get information about Canon Multifunction Printers, Canon Printers Dealers, Retailers, Stores and Distributors. ij.start.canon Download the driver or software for the printer scanner. To install your additional Canon driver or software, go to the ij.start.canon link and follow the steps on it. To get more information about it, visit our website  and enjoy. If you connect the printer USB cable to a Windows computer instead of setting up the connection with the HP driver,  123.hp.com/setup  in most cases the operating system automatically detects the printer and installs a 'built-in' driver for basic functionality. Go to amazon.com/mytv  and create your Amazon account, if you already have an account then sign in to your account.

mahak12345:
Get Our First Time HP Printer Support, 123.hp.com/setup HP Printer wireless Installation Setup, Fix   printer issues.  123.hp.com/setup This is the website for setup your hp printer as per the rules of  & recover your printer in troubles too, we are the service provider through online.  123.hp.com/setup You can connect all Wi-Fi equipment with 123 hp wireless printer configuration.   123 HP Com Wireless Setup. The following chapter provides.Download and  install HP printer driver for mac and windows –Windows or Mac computers: 123.hp.com/setup Go to  and follow the instructions to install and set up the printer for your connection type. note: To watch online prime videos on devices like computers, laptops, smartphones, and smart tv. amazon.com/mytv You need to enter the 6 digit amazon activation code at   or amazon.com/mytv  to. Amazon Prime Video is one of the most popular video-streaming services that contain an immense collection of popular movies. amazon.com/mytv It includes not just movies, but TV shows too. To watch your favorite TV shows and movies on Amazon Prime Video, one needs to create an Amazon Prime Video account. amazon.com/mytv Visit the website  to ease the process.

นำร่อง

[0] ดัชนีข้อความ

[#] หน้าถัดไป

ไปที่เวอร์ชันเต็ม