Hãy đăng ký thành viên để có thể dễ dàng trao đổi, giao lưu và chia sẻ về kiến thức đồ họa.
  1. Hãy đăng ký subscribe kênh Youtube mới của Việt Designer tại địa chỉ: Youtube.com/VietDesignerChannel để theo dõi các video về thiết kế đồ họa. Do trước đó kênh cũ bị Youtube quét không rõ lý do, trong thời gian chờ kháng cáo nếu các bạn thấy video trên diễn đàn bị die không xem được thì có thể vào kênh mới để tìm xem video sơ cua nhé.
    Loại bỏ thông báo

Convert Image All - Addon Xenforo chuyển link ảnh ngoài sang ảnh đính kèm

Chủ đề thuộc danh mục 'Addon Xenforo' được đăng bởi Phạm Hữu Dư, 4/10/15.

Lượt xem: 5,962

  1. Phạm Hữu Dư phamhuudu.com

    Addon Xenforo này có chức năng convert toàn bộ các link ảnh ngoài sang dạng ảnh attachment (đính kèm). Tức là các ảnh đó sẽ được chuyển vào host riêng của forum, tiện quản lý và không lo die ảnh.

    Description:


    The Convert Image All add-on will convert hot linked images to attachments.

    (hot linked image)

    BpNI2dy.jpg

    (attachment)

    QqmYN6G.jpg

    This add-on is designed to convert all existing hot linked images contained in all posts. It should also be used every few months to verify there are no hot linked images on your forum.

    Key Features:
    • Images resized using ImageMagick for highest quality
    • Images resized to maximum width and height settings in Admin Control Panel (Options -> Attachments)
    • Setting for temporary image directory
    Requirements:
    • Requires ImageMagick to be installed on your server
    • Requires exec() and chmod execution
    XenForo Control Panel Requirements:

    This add-on requires a restricted Maximum Attachment Image Dimensions setting. You cannot use 0 or blank as an option. I use the 1600 x 1600 on my forum.

    tWvWScw.jpg

    Admin CP -> Home -> Options -> Attachments

    Installation:
    1. Download convertimageall_v3.9.zip and unzip it.
    2. Upload the Andy folder to your server. The correct location will be library/Andy.
    3. From your Admin Control Panel, go to the "Install Add-on" page.
    4. Upload the addon-ConvertImage_v3.9.xml file.
    5. Click the Install Add-on button.
    Options:

    KKloxs1.jpg

    User Group Permissions:

    Set the Administrative User Group Permissions to "Allow".

    c5mVU1i.jpg

    Operation Step 1:

    If using Full Friendly URLs, add "convertimageall/show?limit=1" to the end of the URL in your browser.

    If using non-Full Friendly URLs, add "convertimageall/show&limit=1" to the end of the URL in your browser.

    Examples:
    Code:
    Full Friendly URLs
    http://www.domain.com/convertimageall/show?limit=1
    http://www.domain.com/forums/convertimageall/show?limit=1
    
    non-Full Friendly URLs
    http://www.domain.com/index.php?convertimageall/show&limit=1
    http://www.domain.com/forums/index.php?convertimageall/show&limit=1
    
    At this point you will see the following:

    HNJPB9E.jpg

    Operation Step 2:

    To convert hot links images, click the "Update X posts" link.

    At this point you will receive a confirmation "Update successful" message.

    Press the back button. At this point it will appear as nothing has happened because you are looking at a cached page, if you reload the page you will see the next post number to convert.

    Once you have verified the add-on is working correctly, you can increase the limit switch in the URL and reload the page. For example you can set the limit switch to 1000 and reload the page:
    Code:
    http://www.yoursite.com/forums/convertimageall/show?limit=1000
    Click the "Update posts" link and 1000 posts will have the hot links converted to attachments.

    Question and Answers:

    Q: Some hot linked image are not converted, why is this?
    A: If a hot linked image is corrupt and internal information about width and height are not able to be read, these images are not converted and will require manual fixing.

    Q: Why isn't GD supported?
    A: GD does a terrible job of creating large images.

    Q: Can files in the /tmp/ directory be deleted?
    A: Yes, they are not required.

    Tải về tại đây
    [LOCK][​IMG][/LOCK]
    (Phiên bản hiện tại là 3.9)​

    ...
    tóc đen thích bài viết này
  2. quangtrung3108

    quangtrung3108 Mới đăng kí

    Mình làm vẫn không thành công chổ Requires exec() and chmod execution là làm như thế nào nhỉ

Ủng hộ diễn đàn